CoordinateSystem#
- class ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.CoordinateSystem(internalObject: Any)#
Bases:
objectDefines a CoordinateSystem.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Adds a new transformation. |
|
Copies all visible properties from this object to another. |
|
Run the CreateConstructionSurface action. |
|
CreateObjRef method. |
|
Creates a new parameter for a Property. |
|
Run the CreateSectionPlane action. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Equals method. |
|
Flips the X Axis of the coordinate system |
|
Flips the Y Axis of the coordinate system |
|
Flips the Z Axis of the coordinate system |
|
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. |
|
Gets the value of a transformation. |
|
GetType method. |
|
GetVisibleProperties method. |
|
GetVisiblePropertyNames method. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
InitializeLifetimeService method. |
|
IsPropertyEditable method. |
|
IsPropertyVisible method. |
|
Moves a transformation down. |
|
Moves a transformation up. |
|
Creates an offset in the X Axis direction of the coordinate system |
|
Creates an offset in the Y Axis direction of the coordinate system |
|
Creates an offset in the Z Axis direction of the coordinate system |
|
Get a property by its API name. |
|
PropertyById method. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Removes a tranformation. |
|
Creates a rotation about the X Axis of the coordinate system |
|
Creates a rotation about the Y Axis of the coordinate system |
|
Creates a rotation about the Z Axis of the coordinate system |
|
SetCoordinateSystemOriginAtCenterOfMass method. |
|
Changes the origin location. |
|
Sets the primary axis using a 1 or 2 point selection and the center of mass |
|
Sets the value of a transformation. |
|
ToString method. |
Gets or sets the APDLName. |
|
AttachedRefs property. |
|
Gets the list of children. |
|
ClsId property. |
|
Gets the list of associated comments. |
|
Gets or sets the CoordinateSystemID. |
|
Gets or sets the CoordinateSystemIDGeneration. |
|
Gets or sets the CoordinateSystemType. |
|
Gets the current DataModelObject's category. |
|
Gets the list of associated figures. |
|
Gets or sets the GloballyAvailable. |
|
GroupingFolder property. |
|
IconName property. |
|
Gets the list of associated images. |
|
ImportableObjectSourceId property. |
|
Gets the internal object. For advanced usage only. |
|
Gets the IsGlobal. |
|
IsValid property. |
|
Matrix property. |
|
Name property. |
|
ObjectId property. |
|
ObjectState property. |
|
ObjectTags property. |
|
Origin property. |
|
Gets or sets the origin define by. |
|
Gets or sets the origin location. |
|
Gets or sets the origin X coordinate. |
|
Gets or sets the origin Y coordinate. |
|
Gets or sets the origin Z coordinate. |
|
Parent property. |
|
Gets or sets the PrimaryAxis. |
|
Gets or sets the PrimaryAxisDefineBy. |
|
Gets or sets the Principal Axis Direction. |
|
Gets or sets the principal axis geometry selection. |
|
Gets the list of properties for this object. |
|
Gets or sets the ReadOnly. |
|
Gets or sets the SecondaryAxis. |
|
Gets or sets the SecondaryAxisDefineBy. |
|
Gets the Secondary Axis Direction. |
|
Gets or sets the orientation about principal axis geometry selection. |
|
State property. |
|
Gets or sets the Suppressed. |
|
TransferableObjectId property. |
|
Gets the number of transformations. |
|
Gets the TransformedConfiguration. |
|
Gets the list of properties that are visible for this object. |
|
XAxis property. |
|
Gets the XAxisData. |
|
YAxis property. |
|
Gets the YAxisData. |
|
ZAxis property. |
|
Gets the ZAxisData. |
Property detail#
- property CoordinateSystem.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property CoordinateSystem.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property CoordinateSystem.CoordinateSystemIDGeneration: Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None#
Gets or sets the CoordinateSystemIDGeneration.
- property CoordinateSystem.CoordinateSystemType: Ansys.ACT.Interfaces.Analysis.CoordinateSystemTypeEnum | None#
Gets or sets the CoordinateSystemType.
- property CoordinateSystem.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property CoordinateSystem.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#
Gets the list of associated figures.
- property CoordinateSystem.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
GroupingFolder property.
- property CoordinateSystem.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
Gets the list of associated images.
- property CoordinateSystem.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSCoordinateSystemAuto | None#
Gets the internal object. For advanced usage only.
- property CoordinateSystem.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#
ObjectState property.
- property CoordinateSystem.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#
ObjectTags property.
- property CoordinateSystem.OriginDefineBy: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAlignmentType | None#
Gets or sets the origin define by.
- property CoordinateSystem.OriginLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
Gets or sets the origin location.
- property CoordinateSystem.OriginX: Ansys.Core.Units.Quantity | None#
Gets or sets the origin X coordinate.
- property CoordinateSystem.OriginY: Ansys.Core.Units.Quantity | None#
Gets or sets the origin Y coordinate.
- property CoordinateSystem.OriginZ: Ansys.Core.Units.Quantity | None#
Gets or sets the origin Z coordinate.
- property CoordinateSystem.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
Parent property.
- property CoordinateSystem.PrimaryAxis: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None#
Gets or sets the PrimaryAxis.
- property CoordinateSystem.PrimaryAxisDefineBy: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAlignmentType | None#
Gets or sets the PrimaryAxisDefineBy.
- property CoordinateSystem.PrimaryAxisDirection: Ansys.ACT.Math.Vector3D | None#
Gets or sets the Principal Axis Direction.
- property CoordinateSystem.PrimaryAxisLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
Gets or sets the principal axis geometry selection.
- property CoordinateSystem.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property CoordinateSystem.SecondaryAxis: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None#
Gets or sets the SecondaryAxis.
- property CoordinateSystem.SecondaryAxisDefineBy: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAlignmentType | None#
Gets or sets the SecondaryAxisDefineBy.
- property CoordinateSystem.SecondaryAxisDirection: Ansys.ACT.Math.Vector3D | None#
Gets the Secondary Axis Direction.
- property CoordinateSystem.SecondaryAxisLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
Gets or sets the orientation about principal axis geometry selection.
- property CoordinateSystem.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#
State property.
Method detail#
- CoordinateSystem.AddComment() Ansys.ACT.Automation.Mechanical.Comment#
Creates a new child Comment.
- CoordinateSystem.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#
Creates a new child Figure.
- CoordinateSystem.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.
- CoordinateSystem.AddTransformation(trans: Ansys.Mechanical.DataModel.Enums.TransformationType, axis: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType) None#
Adds a new transformation.
- CoordinateSystem.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#
Copies all visible properties from this object to another.
- CoordinateSystem.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#
CreateObjRef method.
- CoordinateSystem.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
Creates a new parameter for a Property.
- CoordinateSystem.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#
Creates a copy of the current DataModelObject.
- CoordinateSystem.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#
Equals method.
- CoordinateSystem.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#
GetAllProperties method.
- CoordinateSystem.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
Gets the list of children, filtered by type.
- CoordinateSystem.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#
GetDetailsView method.
- CoordinateSystem.GetIconFile() System.Byte#
GetIconFile method.
- CoordinateSystem.GetLifetimeService() Any#
GetLifetimeService method.
- CoordinateSystem.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#
GetObjectData method.
- CoordinateSystem.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
Gets the parameter corresponding to the given property.
- CoordinateSystem.GetVisibleProperties() List[System.Reflection.PropertyInfo]#
GetVisibleProperties method.
- CoordinateSystem.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
Run the GroupSimilarObjects action.
- CoordinateSystem.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.
- CoordinateSystem.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#
PropertyById method.
- CoordinateSystem.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its unique name.
- CoordinateSystem.RemoveParameter(propName: str) None#
Removes the parameter from the parameter set corresponding to the given property.
- CoordinateSystem.SetCoordinateSystemOriginAtCenterOfMass(geoBodies: List[Ansys.ACT.Interfaces.Geometry.IBaseGeoBody], pointMasses: List[Ansys.ACT.Automation.Mechanical.PointMass], distributedMasses: List[Ansys.ACT.Automation.Mechanical.DistributedMass]) None#
SetCoordinateSystemOriginAtCenterOfMass method.
- CoordinateSystem.SetOriginLocation(originX: Ansys.Core.Units.Quantity, originY: Ansys.Core.Units.Quantity, originZ: Ansys.Core.Units.Quantity) None#
Changes the origin location.
- CoordinateSystem.SetPrimaryAxisUsingCenterOfMass() None#
Sets the primary axis using a 1 or 2 point selection and the center of mass