ISourceFile#

class ansys.mechanical.stubs.v261.Ansys.ACT.Interfaces.Common.ISourceFile#

Bases: object

A file containing source code.

Overview#

Equals

Equals method.

Save

Saves the modified content.

Content

Reads or writes the content of the file.

FileName

The name of the source file.

FilePath

Represents the absolute path of the source file.

Property detail#

property ISourceFile.Content: str | None#

Reads or writes the content of the file.

property ISourceFile.FileName: str | None#

The name of the source file.

property ISourceFile.FilePath: str | None#

Represents the absolute path of the source file.

Method detail#

ISourceFile.Equals(other: Ansys.ACT.Interfaces.Common.ISourceFile) bool#

Equals method.

ISourceFile.Save() None#

Saves the modified content.