Solid
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Solid#
Bases:
object
Defines a Solid.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Add solid to the geometry. |
|
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. |
|
Gets the list of children, filtered by type. |
|
Gets the parameter corresponding to the given property. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Get a property by its API name. |
|
Get a property by its unique name. |
|
Remove the solid from the geometry. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Update the solid on the geometry. |
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets or sets the CoordinateSystem. |
|
Gets the current DataModelObject's category. |
|
Gets the internal object. For advanced usage only. |
|
Gets the PartName. |
|
Gets the list of properties for this object. |
|
Gets or sets the ReadOnly. |
|
Gets the list of properties that are visible for this object. |
|
Gets or sets the X1. |
|
Gets or sets the X2. |
|
Gets or sets the Y1. |
|
Gets or sets the Y2. |
|
Gets or sets the Z1. |
|
Gets or sets the Z2. |
Property detail#
- property Solid.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property Solid.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property Solid.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#
Gets or sets the CoordinateSystem.
- property Solid.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property Solid.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSolidAuto | None#
Gets the internal object. For advanced usage only.
- property Solid.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
Method detail#
- Solid.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- Solid.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- Solid.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- Solid.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- Solid.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- Solid.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- Solid.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.
- Solid.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property #
Get a property by its unique name.