ISourceFile#

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

Bases: object

A file containing source code.

Overview#

Save

Saves the modified content.

Content

Reads or writes the content of the 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.FilePath: str | None#

Represents the absolute path of the source file.

Method detail#

ISourceFile.Save() None#

Saves the modified content.