ExternalDataFileCollection#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.ExternalData.ExternalDataFileCollection#

Bases: object

T:Ansys.Mechanical.ExternalData.ExternalDataFileCollection is a class that provides foundational behavior for holding external data files.

Overview#

Count

Gets the number of external data files.

Item

Item property.

SaveFilesWithProject

Gets or sets the flag controlling if the external data files will be copied to the project directory.

Property detail#

property ExternalDataFileCollection.Count: int | None#

Gets the number of external data files.

property ExternalDataFileCollection.Item: Ansys.Mechanical.ExternalData.ExternalDataFile | None#

Item property.

property ExternalDataFileCollection.SaveFilesWithProject: bool | None#

Gets or sets the flag controlling if the external data files will be copied to the project directory. If this flag is set to False, the external data files will directly reference the file path. The default is False.

Method detail#

ExternalDataFileCollection.Add(item: Ansys.Mechanical.ExternalData.ExternalDataFile) None#
ExternalDataFileCollection.Clear() None#
ExternalDataFileCollection.Contains(item: Ansys.Mechanical.ExternalData.ExternalDataFile) bool#
ExternalDataFileCollection.CopyTo(array: Ansys.Mechanical.ExternalData.ExternalDataFile, arrayIndex: int) None#

CopyTo method.

ExternalDataFileCollection.GetEnumerator() Iterator[Ansys.Mechanical.ExternalData.ExternalDataFile]#
ExternalDataFileCollection.IndexOf(item: Ansys.Mechanical.ExternalData.ExternalDataFile) int#
ExternalDataFileCollection.Insert(index: int, item: Ansys.Mechanical.ExternalData.ExternalDataFile) None#
ExternalDataFileCollection.Remove(item: Ansys.Mechanical.ExternalData.ExternalDataFile) bool#
ExternalDataFileCollection.RemoveAt(index: int) None#