ExpansionSettings
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.ExpansionSettings#
Bases:
object
Defines a ExpansionSettings.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Run the ClearGeneratedData action. |
|
Copies all visible properties from this object to another. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Run the EvaluateAllResults action. |
|
Gets the list of children, filtered by type. |
|
Gets the completed expansion state of a given Condensed Part |
|
Gets the requested expansion state of a given Condensed Part |
|
Gets the parameter corresponding to the given property. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Run the PerformExpansionPass action. |
|
Get a property by its API name. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Sets the requested expansion state of a given Condensed Part |
Gets the list of children. |
|
Gets or sets the CleanupOptionalFiles. |
|
Gets the list of associated comments. |
|
Gets or sets the CondensedPartExpansionType. |
|
Gets the current DataModelObject's category. |
|
Gets or sets the ExpandAfterUsePassFailure. |
|
Gets the list of associated figures. |
|
Gets or sets the GeneralMiscellaneous. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the NodalForces. |
|
Gets the list of properties for this object. |
|
Gets or sets the Strain. |
|
Gets or sets the Stress. |
|
Gets or sets the Suppressed. |
|
Gets the list of properties that are visible for this object. |
Property detail#
- 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.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.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.NodalForces: Ansys.Mechanical.DataModel.Enums.OutputControlsNodalForcesType | None#
Gets or sets the NodalForces.
Method detail#
- 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.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- ExpansionSettings.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- ExpansionSettings.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- 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.GetExpansionState(condensedPart: Ansys.ACT.Automation.Mechanical.CondensedPart) Ansys.ACT.Automation.Mechanical.CondensedPartExpansionState #
Gets the requested expansion state of a given Condensed Part
- ExpansionSettings.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- ExpansionSettings.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder #
Run the GroupSimilarObjects action.
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.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