Geometry
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Geometry#
Bases:
object
Defines a Geometry.
Overview#
|
Creates a new child Thickness. |
|
Creates a new Imported Thickness (External Data). |
|
Creates a new Imported Element Orientation (External Data). |
|
Creates a new child LayeredSection. |
|
Gets the Body associated with the given IGeoBody |
|
Gets the Part associated with the given IGeoPart |
|
Run the FreezeMeshOnAllParts action. |
|
Run the UnfreezeMeshOnAllParts action. |
|
Unsuppress all the bodies that were suppressed. |
|
Invert all parts Suppressed property. |
|
Creates a new parameter for a Property. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
CenterOfMass method. |
|
Creates a new DistributedMass |
|
Creates a new ElementOrientation |
|
Creates a new PointMass |
|
Creates a new SurfaceCoating |
|
Creates a new ThermalPointMass |
|
Run the ResetBodyColors action. |
|
Run the UpdateGeometryFromSource action. |
|
Gets the list of children, filtered by type. |
|
Gets the list of children, filtered by type. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Activate the current object. |
|
Copies all visible properties from this object to another. |
|
Creates a copy of the current DataModelObject. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Get a property by its unique name. |
|
Get a property by its API name. |
|
Gets the parameter corresponding to the given property. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the TemporaryDirectory. |
|
Gets the AttributeKey. |
|
Gets the Source. |
|
Gets the NamedSelectionKey. |
|
Gets the Type. |
|
Gets the Elements. |
|
Gets the Average. |
|
Gets the Maximum. |
|
Gets the Minimum. |
|
Gets the StandardDeviation. |
|
Gets the Nodes. |
|
Gets the ActiveBodies. |
|
Gets the Bodies. |
|
Gets the ParameterKey. |
|
Gets or sets the ScaleFactorValue. |
|
Gets or sets the Tolerance2D. |
|
Gets the LengthX. |
|
Gets the LengthY. |
|
Gets the LengthZ. |
|
Gets or sets the FiberLength. |
|
Gets the Mass. |
|
Gets the MeshVolume. |
|
Gets or sets the EndPlaneRotationAboutX. |
|
Gets or sets the EndPlaneRotationAboutY. |
|
Gets the SheetSurfaceArea. |
|
Gets the SurfaceArea. |
|
Gets the Volume. |
|
Gets the XCentroid. |
|
Gets the YCentroid. |
|
Gets the ZCentroid. |
|
Gets the AnalysisType. |
|
Gets or sets the LengthUnit. |
|
Gets the ComparePartsOnUpdate. |
|
Gets the ComparePartsTolerance. |
|
Gets or sets the DisplayStyle. |
|
Gets or sets the ElementControl. |
|
Gets the MeshMetric. |
|
Gets or sets the Model2DBehavior. |
|
Gets the MixedImportResolution. |
|
Gets the Parameters. |
|
Gets or sets the AssignMaterialOnUpdate. |
|
Gets or sets the AttachFileViaTempFile. |
|
Gets the CanChangeCADUnits. |
|
Gets the DecomposeDisjointGeometry. |
|
Gets the SmartCADUpdate. |
|
Gets the GeometryPreferencesReadOnly. |
|
Gets the ImportCoordinateSystems. |
|
Gets the EnclosureAndSymmetryProcessing. |
|
Gets the SurfaceBodies. |
|
Gets the SolidBodies. |
|
Gets the LineBodies. |
|
Gets the MaterialProperties. |
|
Gets or sets the ReaderModeSavesUpdatedFile. |
|
Gets the UseAssociativity. |
|
Gets the Attributes. |
|
Gets the NamedSelections. |
|
Gets the UseInstances. |
|
Gets the current DataModelObject’s category. |
|
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets the list of associated figures. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets the list of properties for this object. |
|
Gets the list of properties that are visible for this object. |
Property detail#
- property Geometry.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSPrototypeGroupAuto | None
Gets the internal object. For advanced usage only.
- property Geometry.TemporaryDirectory: System.String | None
Gets or sets the TemporaryDirectory.
- property Geometry.AttributeKey: System.String | None
Gets the AttributeKey.
- property Geometry.Source: System.String | None
Gets the Source.
- property Geometry.NamedSelectionKey: System.String | None
Gets the NamedSelectionKey.
- property Geometry.Type: System.String | None
Gets the Type.
- property Geometry.Elements: System.Int32 | None
Gets the Elements.
- property Geometry.Average: System.Double | None
Gets the Average.
- property Geometry.Maximum: System.Double | None
Gets the Maximum.
- property Geometry.Minimum: System.Double | None
Gets the Minimum.
- property Geometry.StandardDeviation: System.Double | None
Gets the StandardDeviation.
- property Geometry.Nodes: System.Int32 | None
Gets the Nodes.
- property Geometry.ActiveBodies: System.Int32 | None
Gets the ActiveBodies.
- property Geometry.Bodies: System.Int32 | None
Gets the Bodies.
- property Geometry.ParameterKey: System.String | None
Gets the ParameterKey.
- property Geometry.ScaleFactorValue: System.Double | None
Gets or sets the ScaleFactorValue.
- property Geometry.Tolerance2D: System.Double | None
Gets or sets the Tolerance2D.
- property Geometry.LengthX: Ansys.Core.Units.Quantity | None
Gets the LengthX.
- property Geometry.LengthY: Ansys.Core.Units.Quantity | None
Gets the LengthY.
- property Geometry.LengthZ: Ansys.Core.Units.Quantity | None
Gets the LengthZ.
- property Geometry.FiberLength: Ansys.Core.Units.Quantity | None
Gets or sets the FiberLength.
- property Geometry.Mass: Ansys.Core.Units.Quantity | None
Gets the Mass.
- property Geometry.MeshVolume: Ansys.Core.Units.Quantity | None
Gets the MeshVolume.
- property Geometry.EndPlaneRotationAboutX: Ansys.Core.Units.Quantity | None
Gets or sets the EndPlaneRotationAboutX.
- property Geometry.EndPlaneRotationAboutY: Ansys.Core.Units.Quantity | None
Gets or sets the EndPlaneRotationAboutY.
- property Geometry.SheetSurfaceArea: Ansys.Core.Units.Quantity | None
Gets the SheetSurfaceArea.
- property Geometry.SurfaceArea: Ansys.Core.Units.Quantity | None
Gets the SurfaceArea.
- property Geometry.Volume: Ansys.Core.Units.Quantity | None
Gets the Volume.
- property Geometry.XCentroid: Ansys.Core.Units.Quantity | None
Gets the XCentroid.
- property Geometry.YCentroid: Ansys.Core.Units.Quantity | None
Gets the YCentroid.
- property Geometry.ZCentroid: Ansys.Core.Units.Quantity | None
Gets the ZCentroid.
- property Geometry.AnalysisType: Ansys.Mechanical.DataModel.Enums.GeometryDimensionType | None
Gets the AnalysisType.
- property Geometry.LengthUnit: Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None
Gets or sets the LengthUnit.
- property Geometry.ComparePartsOnUpdate: Ansys.Mechanical.DataModel.Enums.ComparePartsOnUpdateType | None
Gets the ComparePartsOnUpdate.
- property Geometry.ComparePartsTolerance: Ansys.Mechanical.DataModel.Enums.ComparePartsToleranceType | None
Gets the ComparePartsTolerance.
- property Geometry.DisplayStyle: Ansys.Mechanical.DataModel.Enums.PrototypeDisplayStyleType | None
Gets or sets the DisplayStyle.
- property Geometry.ElementControl: Ansys.Mechanical.DataModel.Enums.ElementControl | None
Gets or sets the ElementControl.
- property Geometry.MeshMetric: Ansys.Mechanical.DataModel.Enums.MeshMetricType | None
Gets the MeshMetric.
- property Geometry.Model2DBehavior: Ansys.Mechanical.DataModel.Enums.Model2DBehavior | None
Gets or sets the Model2DBehavior.
- property Geometry.MixedImportResolution: Ansys.Mechanical.DataModel.Enums.SecondaryImportPrefType | None
Gets the MixedImportResolution.
- property Geometry.Parameters: Ansys.Mechanical.DataModel.Enums.ImportParameterType | None
Gets the Parameters.
- property Geometry.AssignMaterialOnUpdate: System.Boolean | None
Gets or sets the AssignMaterialOnUpdate.
- property Geometry.AttachFileViaTempFile: System.Boolean | None
Gets or sets the AttachFileViaTempFile.
- property Geometry.CanChangeCADUnits: System.Boolean | None
Gets the CanChangeCADUnits.
- property Geometry.DecomposeDisjointGeometry: System.Boolean | None
Gets the DecomposeDisjointGeometry.
- property Geometry.SmartCADUpdate: System.Boolean | None
Gets the SmartCADUpdate.
- property Geometry.GeometryPreferencesReadOnly: System.Boolean | None
Gets the GeometryPreferencesReadOnly.
- property Geometry.ImportCoordinateSystems: System.Boolean | None
Gets the ImportCoordinateSystems.
- property Geometry.EnclosureAndSymmetryProcessing: System.Boolean | None
Gets the EnclosureAndSymmetryProcessing.
- property Geometry.SurfaceBodies: System.Boolean | None
Gets the SurfaceBodies.
- property Geometry.SolidBodies: System.Boolean | None
Gets the SolidBodies.
- property Geometry.LineBodies: System.Boolean | None
Gets the LineBodies.
- property Geometry.MaterialProperties: System.Boolean | None
Gets the MaterialProperties.
- property Geometry.ReaderModeSavesUpdatedFile: System.Boolean | None
Gets or sets the ReaderModeSavesUpdatedFile.
- property Geometry.UseAssociativity: System.Boolean | None
Gets the UseAssociativity.
- property Geometry.Attributes: System.Boolean | None
Gets the Attributes.
- property Geometry.NamedSelections: System.Boolean | None
Gets the NamedSelections.
- property Geometry.UseInstances: System.Boolean | None
Gets the UseInstances.
- property Geometry.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
- property Geometry.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
- property Geometry.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
- property Geometry.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None
Gets the list of associated figures.
- property Geometry.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
- property Geometry.InternalObject: System.Object | None
Gets the internal object. For advanced usage only.
- property Geometry.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
- property Geometry.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail#
- Geometry.AddThickness() Ansys.ACT.Automation.Mechanical.Thickness
Creates a new child Thickness.
- Geometry.AddImportedThicknessExternalData() Ansys.ACT.Automation.Mechanical.ImportedLoads.ImportedThicknessGroup
Creates a new Imported Thickness (External Data).
- Geometry.AddImportedElementOrientationExternalData() Ansys.ACT.Automation.Mechanical.ImportedLoads.ImportedElementOrientationGroup
Creates a new Imported Element Orientation (External Data).
- Geometry.AddLayeredSection() Ansys.ACT.Automation.Mechanical.LayeredSection
Creates a new child LayeredSection.
- Geometry.GetBody(geoBody: Ansys.ACT.Interfaces.Geometry.IBaseGeoBody) Ansys.ACT.Automation.Mechanical.Body
Gets the Body associated with the given IGeoBody
- Geometry.GetPart(geoPart: Ansys.ACT.Interfaces.Geometry.IBaseGeoPart) Ansys.ACT.Automation.Mechanical.Part
Gets the Part associated with the given IGeoPart
- Geometry.FreezeMeshOnAllParts() System.Void
Run the FreezeMeshOnAllParts action.
- Geometry.UnfreezeMeshOnAllParts() System.Void
Run the UnfreezeMeshOnAllParts action.
- Geometry.UnsuppressAllBodies() System.Void
Unsuppress all the bodies that were suppressed.
- Geometry.InvertSuppressedBodySet() System.Void
Invert all parts Suppressed property.
- Geometry.CreateParameter(paramPath: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Creates a new parameter for a Property.
- Geometry.RemoveParameter(paramPath: System.String) System.Void
Removes the parameter from the parameter set corresponding to the given property.
- Geometry.CenterOfMass(geoBodies: System.Collections.Generic.IList[Ansys.ACT.Interfaces.Geometry.IBaseGeoBody], pointMasses: System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.PointMass], distributedMasses: System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.DistributedMass]) Ansys.Core.Units.Quantity
CenterOfMass method.
- Geometry.AddDistributedMass() Ansys.ACT.Automation.Mechanical.DistributedMass
Creates a new DistributedMass
- Geometry.AddElementOrientation() Ansys.ACT.Automation.Mechanical.ElementOrientation
Creates a new ElementOrientation
- Geometry.AddPointMass() Ansys.ACT.Automation.Mechanical.PointMass
Creates a new PointMass
- Geometry.AddSurfaceCoating() Ansys.ACT.Automation.Mechanical.SurfaceCoating
Creates a new SurfaceCoating
- Geometry.AddThermalPointMass() Ansys.ACT.Automation.Mechanical.ThermalPointMass
Creates a new ThermalPointMass
- Geometry.ResetBodyColors() System.Void
Run the ResetBodyColors action.
- Geometry.UpdateGeometryFromSource() System.Void
Run the UpdateGeometryFromSource action.
- Geometry.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]
Gets the list of children, filtered by type.
- Geometry.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]
Gets the list of children, filtered by type.
- Geometry.AddComment() Ansys.ACT.Automation.Mechanical.Comment
Creates a new child Comment.
- Geometry.AddFigure() Ansys.ACT.Automation.Mechanical.Figure
Creates a new child Figure.
- Geometry.AddImage(filePath: System.String) 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.
- Geometry.Activate() System.Void
Activate the current object.
- Geometry.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void
Copies all visible properties from this object to another.
- Geometry.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject
Creates a copy of the current DataModelObject.
- Geometry.GroupAllSimilarChildren() System.Void
Run the GroupAllSimilarChildren action.
- Geometry.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder
Run the GroupSimilarObjects action.
- Geometry.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property
Get a property by its unique name.
- Geometry.PropertyByAPIName(name: System.String) Ansys.ACT.Automation.Mechanical.Property
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.
- Geometry.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Gets the parameter corresponding to the given property.