Solid#
- class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Solid(internalObject: Any)#
Bases:
objectDefines 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. |
|
CreateObjRef method. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Equals method. |
|
Property name bound to dispId. |
|
GetAllProperties method. |
|
Gets the list of children, filtered by type. |
|
GetDetailsView method. |
|
Enum name bound to value |
|
GetHashCode method. |
|
GetIconFile method. |
|
GetLifetimeService method. |
|
GetObjectData method. |
|
Gets the parameter corresponding to the given property. |
|
GetPath method. |
|
GetPropertyName method. |
|
GetPropertyValue method. |
|
GetType method. |
|
GetVisibleProperties method. |
|
GetVisiblePropertyNames method. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
InitializeLifetimeService method. |
|
IsPropertyEditable method. |
|
IsPropertyVisible method. |
|
Get a property by its API name. |
|
PropertyById method. |
|
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. |
|
ToString method. |
|
Update the solid on the geometry. |
AttachedRefs property. |
|
Gets the list of children. |
|
ClsId property. |
|
Gets the list of associated comments. |
|
Gets or sets the CoordinateSystem. |
|
Gets the current DataModelObject's category. |
|
GroupingFolder property. |
|
IconName property. |
|
ImportableObjectSourceId property. |
|
Gets the internal object. For advanced usage only. |
|
Name property. |
|
ObjectId property. |
|
ObjectState property. |
|
ObjectTags property. |
|
Parent property. |
|
Gets the PartName. |
|
Gets the list of properties for this object. |
|
Gets or sets the ReadOnly. |
|
State property. |
|
TransferableObjectId property. |
|
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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
GroupingFolder property.
- property Solid.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSolidAuto | None#
Gets the internal object. For advanced usage only.
- property Solid.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#
ObjectState property.
- property Solid.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#
ObjectTags property.
- property Solid.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
Parent property.
- property Solid.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property Solid.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties that are visible for this object.
- property Solid.X1: Ansys.Core.Units.Quantity | None#
Gets or sets the X1.
- property Solid.X2: Ansys.Core.Units.Quantity | None#
Gets or sets the X2.
- property Solid.Y1: Ansys.Core.Units.Quantity | None#
Gets or sets the Y1.
- property Solid.Y2: Ansys.Core.Units.Quantity | None#
Gets or sets the Y2.
- property Solid.Z1: Ansys.Core.Units.Quantity | None#
Gets or sets the Z1.
- property Solid.Z2: Ansys.Core.Units.Quantity | None#
Gets or sets the Z2.
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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#
Equals method.
- Solid.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#
GetAllProperties method.
- Solid.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
Gets the list of children, filtered by type.
- Solid.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#
GetDetailsView method.
- Solid.GetIconFile() System.Byte#
GetIconFile method.
- Solid.GetLifetimeService() Any#
GetLifetimeService method.
- Solid.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#
GetObjectData method.
- Solid.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
Gets the parameter corresponding to the given property.
- Solid.GetVisibleProperties() List[System.Reflection.PropertyInfo]#
GetVisibleProperties method.
- Solid.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
Run the GroupSimilarObjects action.
- Solid.InitializeLifetimeService() Any#
InitializeLifetimeService method.
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.