ExpansionSettings#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ExpansionSettings(internalObject: Any)#

Bases: object

Defines a ExpansionSettings.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

ClearGeneratedData

Run the ClearGeneratedData action.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

EvaluateAllResults

Run the EvaluateAllResults action.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetCompletedExpansionState

Gets the completed expansion state of a given Condensed Part

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetExpansionState

Gets the requested expansion state of a given Condensed Part

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PerformExpansionPass

Run the PerformExpansionPass action.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

Removes the parameter from the parameter set corresponding to the given property.

SetExpansionState

Sets the requested expansion state of a given Condensed Part

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

CleanupOptionalFiles

Gets or sets the CleanupOptionalFiles.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CondensedPartExpansionType

Gets or sets the CondensedPartExpansionType.

DataModelObjectCategory

Gets the current DataModelObject's category.

ExpandAfterUsePassFailure

Gets or sets the ExpandAfterUsePassFailure.

Figures

Gets the list of associated figures.

GeneralMiscellaneous

Gets or sets the GeneralMiscellaneous.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

NodalForces

Gets or sets the NodalForces.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

Strain

Gets or sets the Strain.

Stress

Gets or sets the Stress.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property ExpansionSettings.AttachedRefs: List[int] | None#

AttachedRefs property.

property ExpansionSettings.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property ExpansionSettings.CleanupOptionalFiles: bool | None#

Gets or sets the CleanupOptionalFiles.

property ExpansionSettings.ClsId: int | None#

ClsId property.

property ExpansionSettings.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

property ExpansionSettings.CondensedPartExpansionType: Ansys.Mechanical.DataModel.Enums.CondensedPartExpansionType | None#

Gets or sets the CondensedPartExpansionType.

property ExpansionSettings.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property ExpansionSettings.ExpandAfterUsePassFailure: bool | None#

Gets or sets the ExpandAfterUsePassFailure.

property ExpansionSettings.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#

Gets the list of associated figures.

property ExpansionSettings.GeneralMiscellaneous: bool | None#

Gets or sets the GeneralMiscellaneous.

property ExpansionSettings.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property ExpansionSettings.IconName: str | None#

IconName property.

property ExpansionSettings.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property ExpansionSettings.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSExpansionSettingsAuto | None#

Gets the internal object. For advanced usage only.

property ExpansionSettings.Name: str | None#

Name property.

property ExpansionSettings.NodalForces: Ansys.Mechanical.DataModel.Enums.OutputControlsNodalForcesType | None#

Gets or sets the NodalForces.

property ExpansionSettings.ObjectId: int | None#

ObjectId property.

property ExpansionSettings.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property ExpansionSettings.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property ExpansionSettings.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property ExpansionSettings.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property ExpansionSettings.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property ExpansionSettings.Strain: bool | None#

Gets or sets the Strain.

property ExpansionSettings.Stress: bool | None#

Gets or sets the Stress.

property ExpansionSettings.Suppressed: bool | None#

Gets or sets the Suppressed.

property ExpansionSettings.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties that are visible for this object.

Method detail#

ExpansionSettings.Activate() None#

Activate the current object.

ExpansionSettings.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

ExpansionSettings.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

ExpansionSettings.AddImage(filePath: str) Ansys.ACT.Automation.Mechanical.Image#
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.
ExpansionSettings.ClearGeneratedData() None#

Run the ClearGeneratedData action.

ExpansionSettings.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

ExpansionSettings.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

ExpansionSettings.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

ExpansionSettings.Delete() None#

Run the Delete action.

ExpansionSettings.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

ExpansionSettings.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

ExpansionSettings.EvaluateAllResults() None#

Run the EvaluateAllResults action.

ExpansionSettings.GetAPIName(dispId: int) str#

Property name bound to dispId.

ExpansionSettings.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

ExpansionSettings.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

ExpansionSettings.GetCompletedExpansionState(condensedPart: Ansys.ACT.Automation.Mechanical.CondensedPart) Ansys.ACT.Automation.Mechanical.CondensedPartExpansionState#

Gets the completed expansion state of a given Condensed Part

ExpansionSettings.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

ExpansionSettings.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

ExpansionSettings.GetExpansionState(condensedPart: Ansys.ACT.Automation.Mechanical.CondensedPart) Ansys.ACT.Automation.Mechanical.CondensedPartExpansionState#

Gets the requested expansion state of a given Condensed Part

ExpansionSettings.GetHashCode() int#

GetHashCode method.

ExpansionSettings.GetIconFile() System.Byte#

GetIconFile method.

ExpansionSettings.GetLifetimeService() Any#

GetLifetimeService method.

ExpansionSettings.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

ExpansionSettings.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

ExpansionSettings.GetPath() str#

GetPath method.

ExpansionSettings.GetPropertyName(dispId: int) str#

GetPropertyName method.

ExpansionSettings.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ExpansionSettings.GetType() type#

GetType method.

ExpansionSettings.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

ExpansionSettings.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ExpansionSettings.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

ExpansionSettings.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

ExpansionSettings.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ExpansionSettings.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ExpansionSettings.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

ExpansionSettings.PerformExpansionPass() None#

Run the PerformExpansionPass action.

ExpansionSettings.PropertyByAPIName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.
ExpansionSettings.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

ExpansionSettings.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

ExpansionSettings.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

ExpansionSettings.SetExpansionState(condensedPart: Ansys.ACT.Automation.Mechanical.CondensedPart, state: Ansys.ACT.Automation.Mechanical.CondensedPartExpansionState) None#

Sets the requested expansion state of a given Condensed Part

ExpansionSettings.ToString() str#

ToString method.