CoordinateSystem#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.CoordinateSystem#
 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.  | 
|
Creates a new parameter for a Property.  | 
|
Run the CreateSectionPlane action.  | 
|
Run the Delete action.  | 
|
Creates a copy of the current DataModelObject.  | 
|
Flips the X Axis of the coordinate system  | 
|
Flips the Y Axis of the coordinate system  | 
|
Flips the Z Axis of the coordinate system  | 
|
Gets the list of children, filtered by type.  | 
|
Gets the parameter corresponding to the given property.  | 
|
Gets the value of a transformation.  | 
|
Run the GroupAllSimilarChildren action.  | 
|
Run the GroupSimilarObjects action.  | 
|
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.  | 
|
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.  | 
Gets or sets the APDLName.  | 
|
Gets the list of children.  | 
|
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.  | 
|
Gets the list of associated images.  | 
|
Gets the internal object. For advanced usage only.  | 
|
Gets the IsGlobal.  | 
|
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.  | 
|
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.  | 
|
Gets or sets the Suppressed.  | 
|
Gets the number of transformations.  | 
|
Gets the TransformedConfiguration.  | 
|
Gets the list of properties that are visible for this object.  | 
|
Gets the XAxisData.  | 
|
Gets the YAxisData.  | 
|
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.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.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.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.
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.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.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
 Gets the list of children, filtered by type.
- CoordinateSystem.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Gets the parameter corresponding to the given property.
- CoordinateSystem.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.
- 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.