ExternalDataFileCollection#

class ansys.mechanical.stubs.v261.Ansys.Mechanical.ExternalData.ExternalDataFileCollection(saveFilesWithProject: bool)#

Bases: object

is a class that provides foundational behavior for

holding external data files.

Overview#

Add

Clear

Contains

CopyTo

CopyTo method.

Equals

Equals method.

GetEnumerator

GetHashCode

GetHashCode method.

GetType

GetType method.

IndexOf

Insert

Remove

RemoveAt

ToString

ToString method.

Count

Gets the number of external data files.

IsReadOnly

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.IsReadOnly: bool | None#
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.Equals(obj: Any) bool#

Equals method.

ExternalDataFileCollection.GetEnumerator() Iterator[Ansys.Mechanical.ExternalData.ExternalDataFile]#
ExternalDataFileCollection.GetHashCode() int#

GetHashCode method.

ExternalDataFileCollection.GetType() type#

GetType method.

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#
ExternalDataFileCollection.ToString() str#

ToString method.