Model#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Model(internalObject: Any)#

Bases: object

Defines a Model.

Overview#

Activate

Activate the current object.

AddAIShapeClusterGroup

Creates a new child AINamedSelection.

AddAMProcess

Creates a new AMProcess

AddBodyMergeSequence

Creates a BodyMergeSequence under the Model.

AddBoundaryConditionsGroup

AddBoundaryConditionsGroup method.

AddChart

Creates a new child Chart.

AddCoSimulationPin

Creates a new CoSimulationPin

AddComment

Creates a new child Comment.

AddCompositeFailureCriteria

Creates a new Composite Failure Criteria object.

AddCondensedGeometry

Creates a new CondensedGeometry

AddConnections

Creates a new Connections

AddConstructionGeometry

Creates a new ConstructionGeometry

AddCoordinateSystemInternal

AddCoordinateSystemInternal method.

AddCoupledFieldHarmonic

Run the AddCoupledFieldHarmonic action.

AddCoupledFieldModal

Run the AddCoupledFieldModal action.

AddCoupledFieldStatic

Run the AddCoupledFieldStatic action.

AddCoupledFieldTransient

Run the AddCoupledFieldTransient action.

AddCrossSections

Creates new CrossSections group.

AddDesignAssessmentAnalysis

Run the AddDesignAssessmentAnalysis action.

AddDesignLifeAnalysis

Run the AddDesignLifeAnalysis action.

AddEigenvalueBucklingAnalysis

Run the AddEigenvalueBucklingAnalysis action.

AddElectricAnalysis

Run the AddElectricAnalysis action.

AddExplicitDynamicsAnalysis

Run the AddExplicitDynamicsAnalysis action.

AddFatigueCombination

Creates a new FatigueCombination

AddFeatureDetection

Creates a new FeatureDetection

AddFigure

Creates a new child Figure.

AddForcedResponseAnalysis

Run the AddForcedResponseAnalysis action.

AddFracture

Creates a new Fracture

AddGeometryImportGroup

Get the GeometryImportGroup instance.

AddHarmonicAcousticAnalysis

Run the AddHarmonicAcousticAnalysis action.

AddHarmonicResponseAnalysis

Run the AddHarmonicResponseAnalysis action.

AddImage

Creates a new child Image.

AddImagePlane

Creates an ImagePlane and adds it as a child of this object.

AddLSDynaAcousticsAnalysis

Run the AddLSDynaAcousticsAnalysis action.

AddLSDynaAnalysis

Run the AddLSDynaAnalysis action.

AddLSDynaRestartAnalysis

Run the AddLSDynaRestartAnalysis action.

AddMagnetostaticAnalysis

Run the AddMagnetostaticAnalysis action.

AddMeasures

Creates a new Measures

AddMeshEdit

Creates a new MeshEdit

AddMeshNumbering

Creates a new MeshNumbering

AddMeshWorkflowGroup

Creates a new MeshWorkflowGroup

AddModalAcousticAnalysis

Run the AddModalAcousticAnalysis action.

AddModalAnalysis

Run the AddModalAnalysis action.

AddMotionAnalysis

Run the AddMotionAnalysis action.

AddNamedSelection

Creates a new child NamedSelection.

AddNamedSelectionFromSelectedConnections

Creates a new Named Selections (Components) for the selected connections.

AddParameterVariableGroup

Get the ParameterVariableGroup instance.

AddPartTransform

Creates a new child PartTransform.

AddPythonCodeEventBased

Creates a new PythonCodeEventBased

AddPythonResult

Creates a new PythonResult

AddRandomVibrationAnalysis

Run the AddRandomVibrationAnalysis action.

AddRemotePoint

Creates a new child RemotePoint.

AddRemotePointInternal

AddRemotePointInternal method.

AddResponseSpectrumAnalysis

Run the AddResponseSpectrumAnalysis action.

AddRigidDynamicsAnalysis

Run the AddRigidDynamicsAnalysis action.

AddSolutionCombination

Creates a new SolutionCombination

AddStaticAcousticAnalysis

Run the AddStaticAcousticAnalysis action.

AddStaticStructuralAnalysis

Run the AddStaticStructuralAnalysis action.

AddSteadyStateThermalAnalysis

Run the AddSteadyStateThermalAnalysis action.

AddSubstructureGenerationAnalysis

Run the AddSubstructureGenerationAnalysis action.

AddSymmetry

Creates a new Symmetry

AddTableGroup

Get the TableGroup instance.

AddThermalElectricAnalysis

Run the AddThermalElectricAnalysis action.

AddTopologyOptimizationAnalysis

Run the AddTopologyOptimizationAnalysis action.

AddTransientStructuralAnalysis

Run the AddTransientStructuralAnalysis action.

AddTransientThermalAnalysis

Run the AddTransientThermalAnalysis action.

AddTreeGroupingFolder

Move the Data Model Objects to a new TreeGroupingFolder.

AddVirtualTopology

Creates a new VirtualTopology

AutoFilter

Enables interface filtering that only displays model-level items applicable to the

CenterOfMass

Calculates the center of mass of all unsupressed bodies and point masses.

ClearGeneratedData

Run the ClearGeneratedData action.

CopyTo

Copies all visible properties from this object to another.

CreateCylindricalBolt

Create bolt with a cylinder head based on the specified dimensions. The bolt will be

CreateCylindricalNut

Create a cylindrical nut with the specified dimensions. The nut will be created so that

CreateHexBolt

Create a bolt with a hex head based on the specified dimensions. The bolt will be

CreateHexNut

Create a hex nut with the specified dimensions. The nut will be created so that the

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

CreatePartInstance

This will create an instance (not an independent copy) of the provided part. The use of

DeleteParts

Deletes the provide parts if they exist. Otherwise, nothing happens. An exception will be issued if the argument is invalid.

DisableFilter

Disables interface filtering so that model-level items are not filtered out based on

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

EvaluateScriptDefinedResults

EvaluateScriptDefinedResults method.

FreezeMeshOnSelectedParts

Run the FreezeMeshOnSelectedParts action.

GetAPIName

Property name bound to dispId.

GetActivationStatusForAnalysis

GetActivationStatusForAnalysis method.

GetAllFECommandsRepositoriesFullSourceFileIdentifiers

GetAllFECommandsRepositoriesFullSourceFileIdentifiers method.

GetAllFECommandsRepositoriesFullSourceFileIdentifiersInputFiles

GetAllFECommandsRepositoriesFullSourceFileIdentifiersInputFiles method.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetFECommandsRepositoriesLocation

GetFECommandsRepositoriesLocation method.

GetFECommandsRepositoriesNumberOfCopies

GetFECommandsRepositoriesNumberOfCopies method.

GetFECommandsRepository

Gets the commands repository for a file from external model.

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetResults

Gets the Results from the server.

GetTransformationOnPart

Get the transformation matrix of the provided part.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

HasDetermined2D3D

HasDetermined2D3D method.

ImportModelFromDisco

ImportModelFromDisco method.

InitializeLifetimeService

InitializeLifetimeService method.

Is2DGeometry

Is2DGeometry method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

LoadResultFile

Creates a results-only system and loads the result file.

MoveObjectsFromEnvtToBoundaryConditionsGroup

MoveObjectsFromEnvtToBoundaryConditionsGroup method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RefreshMaterials

Run the RefresMaterials action.

RemoveParameter

Removes the parameter from the parameter set corresponding to the given property.

ReplaceGeometryAndMesh

ReplaceGeometryAndMesh method.

SendGeometrySelectionFromActiveObjectsToMeshWorkflowByType

Creates a new MeshWorkflowGroup

SendGeometrySelectionFromGraphicsToMeshWorkflowByType

Creates a new MeshWorkflowGroup

SetActivationStatusForAnalysis

SetActivationStatusForAnalysis method.

SetTransformationOnPart

Transform a part with given transformation. Only rigid body transformation is

Solve

Run the Solve action.

ToString

ToString method.

UnfreezeMeshOnSelectedParts

Run the UnfreezeMeshOnSelectedParts action.

UpdateGeometryFromSource

Run the UpdateGeometryFromSource action.

AEDTImportManager

Get the manager for manipulating import settings for AEDT files.

AMProcess

Gets the AMProcess.

Ambient

Gets or sets the Ambient Lighting factor.

Analyses

Gets the Analyses.

AttachedRefs

AttachedRefs property.

BodyMergeSequence

Returns the BodyMergeSequence.

BoundaryConditionsGroup

BoundaryConditionsGroup property.

CellId

Gets the CellId.

Children

Gets the list of children.

ClsId

ClsId property.

Color

Gets or sets the Lighting Color. Can also be set using Hex color codes; three byte hexadecimal numbers (consisting of six digits) preceded by '0x', where each byte (or pair of characters in the Hex code) represents the intensity of red, green and blue in the color respectively. For example, 0xFFFFFF.

Comments

Gets the list of associated comments.

CondensedGeometry

Gets the CondensedGeometry.

Connections

Gets the Connections.

ConstructionGeometry

Gets the ConstructionGeometry.

Control

Gets the Control.

CoordinateSystems

Gets the CoordinateSystems.

CrossSections

Gets the CrossSections.

DataModelObjectCategory

Gets the current DataModelObject's category.

Diffuse

Gets or sets the Diffuse Lighting factor.

Environments

Gets the Analyses.

FeatureDetection

Gets the FeatureDetection.

Figures

Gets the list of associated figures.

Fracture

Gets the Fracture.

Geometry

Gets the Geometry.

GeometryImportGroup

Gets the GeometryImportGroup.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportedReinforcements

Gets the ImportedReinforcements.

InternalObject

Gets the internal object. For advanced usage only.

Materials

Gets the Materials.

Measures

Gets the Measures.

Mesh

Gets the Mesh.

MeshEdit

Gets the MeshEdit.

MeshNumbering

Gets the MeshNumbering.

MeshWorkflowGroup

Gets the MeshWorkflowGroup.

Name

Name property.

NamedSelections

Gets the NamedSelections.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

ParameterVariableGroup

Gets the ParameterVariableGroup.

Parent

Parent property.

PartTransformGroup

Gets the PartTransformGroup.

Properties

Gets the list of properties for this object.

RemotePoints

Gets the RemotePoints.

Specular

Gets or sets the Specular Lighting factor.

State

State property.

Symmetry

Gets the Symmetry.

SystemCaption

Gets the SystemCaption.

TableGroup

Gets the TableGroup.

VirtualTopology

Gets the VirtualTopology.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property Model.AEDTImportManager: Ansys.ACT.Automation.Mechanical.AEDTImportManager | None#

Get the manager for manipulating import settings for AEDT files.

property Model.AMProcess: Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMProcess | None#

Gets the AMProcess.

property Model.Ambient: float | None#

Gets or sets the Ambient Lighting factor.

property Model.Analyses: List[Ansys.ACT.Automation.Mechanical.Analysis] | None#

Gets the Analyses.

property Model.AttachedRefs: List[int] | None#

AttachedRefs property.

property Model.BodyMergeSequence: Ansys.ACT.Automation.Mechanical.BodyMergeSequence | None#

Returns the BodyMergeSequence.

property Model.BoundaryConditionsGroup: Ansys.ACT.Automation.Mechanical.BoundaryConditionsGroup | None#

BoundaryConditionsGroup property.

property Model.CellId: str | None#

Gets the CellId.

property Model.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property Model.ClsId: int | None#

ClsId property.

property Model.Color: int | None#

Gets or sets the Lighting Color. Can also be set using Hex color codes; three byte hexadecimal numbers (consisting of six digits) preceded by '0x', where each byte (or pair of characters in the Hex code) represents the intensity of red, green and blue in the color respectively. For example, 0xFFFFFF.

property Model.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

property Model.CondensedGeometry: Ansys.ACT.Automation.Mechanical.CondensedGeometry | None#

Gets the CondensedGeometry.

property Model.Connections: Ansys.ACT.Automation.Mechanical.Connections.Connections | None#

Gets the Connections.

property Model.ConstructionGeometry: Ansys.ACT.Automation.Mechanical.ConstructionGeometry | None#

Gets the ConstructionGeometry.

property Model.Control: str | None#

Gets the Control.

property Model.CoordinateSystems: Ansys.ACT.Automation.Mechanical.CoordinateSystems | None#

Gets the CoordinateSystems.

property Model.CrossSections: Ansys.ACT.Automation.Mechanical.CrossSections | None#

Gets the CrossSections.

property Model.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property Model.Diffuse: float | None#

Gets or sets the Diffuse Lighting factor.

property Model.Environments: Iterable[Ansys.ACT.Automation.Mechanical.Analysis] | None#

Gets the Analyses.

property Model.FeatureDetection: Ansys.ACT.Automation.Mechanical.FeatureDetection | None#

Gets the FeatureDetection.

property Model.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#

Gets the list of associated figures.

property Model.Fracture: Ansys.ACT.Automation.Mechanical.Fracture | None#

Gets the Fracture.

property Model.Geometry: Ansys.ACT.Automation.Mechanical.Geometry | None#

Gets the Geometry.

property Model.GeometryImportGroup: Ansys.ACT.Automation.Mechanical.GeometryImportGroup | None#

Gets the GeometryImportGroup.

property Model.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property Model.IconName: str | None#

IconName property.

property Model.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property Model.ImportedReinforcements: Ansys.ACT.Automation.Mechanical.ImportedReinforcements | None#

Gets the ImportedReinforcements.

property Model.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSModelAuto | None#

Gets the internal object. For advanced usage only.

property Model.Materials: Ansys.ACT.Automation.Mechanical.Materials | None#

Gets the Materials.

property Model.Measures: Ansys.ACT.Automation.Mechanical.Measures | None#

Gets the Measures.

property Model.Mesh: Ansys.ACT.Automation.Mechanical.MeshControls.Mesh | None#

Gets the Mesh.

property Model.MeshEdit: Ansys.ACT.Automation.Mechanical.MeshEdit | None#

Gets the MeshEdit.

property Model.MeshNumbering: Ansys.ACT.Automation.Mechanical.MeshNumbering | None#

Gets the MeshNumbering.

property Model.MeshWorkflowGroup: Ansys.ACT.Automation.Mechanical.MeshWorkflowGroup | None#

Gets the MeshWorkflowGroup.

property Model.Name: str | None#

Name property.

property Model.NamedSelections: Ansys.ACT.Automation.Mechanical.NamedSelections | None#

Gets the NamedSelections.

property Model.ObjectId: int | None#

ObjectId property.

property Model.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property Model.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property Model.ParameterVariableGroup: Ansys.ACT.Automation.Mechanical.ParameterVariableGroup | None#

Gets the ParameterVariableGroup.

property Model.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property Model.PartTransformGroup: Ansys.ACT.Automation.Mechanical.PartTransformGroup | None#

Gets the PartTransformGroup.

property Model.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property Model.RemotePoints: Ansys.ACT.Automation.Mechanical.RemotePoints | None#

Gets the RemotePoints.

property Model.Specular: float | None#

Gets or sets the Specular Lighting factor.

property Model.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property Model.Symmetry: Ansys.ACT.Automation.Mechanical.Symmetry | None#

Gets the Symmetry.

property Model.SystemCaption: str | None#

Gets the SystemCaption.

property Model.TableGroup: Ansys.ACT.Automation.Mechanical.TableGroup | None#

Gets the TableGroup.

property Model.VirtualTopology: Ansys.ACT.Automation.Mechanical.VirtualTopology | None#

Gets the VirtualTopology.

property Model.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties that are visible for this object.

Method detail#

Model.Activate() None#

Activate the current object.

Model.AddAIShapeClusterGroup() Ansys.ACT.Automation.Mechanical.AIShapeClusterGroup#

Creates a new child AINamedSelection.

Model.AddAMProcess() Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMProcess#

Creates a new AMProcess

Model.AddBodyMergeSequence() Ansys.ACT.Automation.Mechanical.BodyMergeSequence#

Creates a BodyMergeSequence under the Model.

Model.AddBoundaryConditionsGroup() Ansys.ACT.Automation.Mechanical.BoundaryConditionsGroup#

AddBoundaryConditionsGroup method.

Model.AddChart() Ansys.ACT.Automation.Mechanical.Chart#

Creates a new child Chart.

Model.AddCoSimulationPin() Ansys.ACT.Automation.Mechanical.CoSimulationPin#

Creates a new CoSimulationPin

Model.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

Model.AddCompositeFailureCriteria() Ansys.ACT.Automation.Mechanical.Results.CompositeFailureResults.CompositeFailureCriteria#

Creates a new Composite Failure Criteria object.

Model.AddCondensedGeometry() Ansys.ACT.Automation.Mechanical.CondensedGeometry#

Creates a new CondensedGeometry

Model.AddConnections() Ansys.ACT.Automation.Mechanical.Connections.Connections#

Creates a new Connections

Model.AddConstructionGeometry() Ansys.ACT.Automation.Mechanical.ConstructionGeometry#

Creates a new ConstructionGeometry

Model.AddCoordinateSystemInternal() Ansys.ACT.Automation.Mechanical.CoordinateSystem#

AddCoordinateSystemInternal method.

Model.AddCoupledFieldHarmonic() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddCoupledFieldHarmonic action.

Model.AddCoupledFieldModal() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddCoupledFieldModal action.

Model.AddCoupledFieldStatic() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddCoupledFieldStatic action.

Model.AddCoupledFieldTransient() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddCoupledFieldTransient action.

Model.AddCrossSections() Ansys.ACT.Automation.Mechanical.CrossSections#

Creates new CrossSections group.

Model.AddDesignAssessmentAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddDesignAssessmentAnalysis action.

Model.AddDesignLifeAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddDesignLifeAnalysis action.

Model.AddEigenvalueBucklingAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddEigenvalueBucklingAnalysis action.

Model.AddElectricAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddElectricAnalysis action.

Model.AddExplicitDynamicsAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddExplicitDynamicsAnalysis action.

Model.AddFatigueCombination() Ansys.ACT.Automation.Mechanical.FatigueCombination#

Creates a new FatigueCombination

Model.AddFeatureDetection() Ansys.ACT.Automation.Mechanical.FeatureDetection#

Creates a new FeatureDetection

Model.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

Model.AddForcedResponseAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddForcedResponseAnalysis action.

Model.AddFracture() Ansys.ACT.Automation.Mechanical.Fracture#

Creates a new Fracture

Model.AddGeometryImportGroup() Ansys.ACT.Automation.Mechanical.GeometryImportGroup#

Get the GeometryImportGroup instance.

Model.AddHarmonicAcousticAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddHarmonicAcousticAnalysis action.

Model.AddHarmonicResponseAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddHarmonicResponseAnalysis action.

Model.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.
Model.AddImagePlane() Ansys.ACT.Automation.Mechanical.ImagePlane#

Creates an ImagePlane and adds it as a child of this object.

Model.AddLSDynaAcousticsAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddLSDynaAcousticsAnalysis action.

Model.AddLSDynaAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddLSDynaAnalysis action.

Model.AddLSDynaRestartAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddLSDynaRestartAnalysis action.

Model.AddMagnetostaticAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddMagnetostaticAnalysis action.

Model.AddMeasures() Ansys.ACT.Automation.Mechanical.Measures#

Creates a new Measures

Model.AddMeshEdit() Ansys.ACT.Automation.Mechanical.MeshEdit#

Creates a new MeshEdit

Model.AddMeshNumbering() Ansys.ACT.Automation.Mechanical.MeshNumbering#

Creates a new MeshNumbering

Model.AddMeshWorkflowGroup() Ansys.ACT.Automation.Mechanical.MeshWorkflowGroup#

Creates a new MeshWorkflowGroup

Model.AddModalAcousticAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddModalAcousticAnalysis action.

Model.AddModalAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddModalAnalysis action.

Model.AddMotionAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddMotionAnalysis action.

Model.AddNamedSelection() Ansys.ACT.Automation.Mechanical.NamedSelection#

Creates a new child NamedSelection.

Model.AddNamedSelectionFromSelectedConnections() List[Ansys.ACT.Automation.Mechanical.NamedSelection]#

Creates a new Named Selections (Components) for the selected connections.

Model.AddParameterVariableGroup() Ansys.ACT.Automation.Mechanical.ParameterVariableGroup#

Get the ParameterVariableGroup instance.

Model.AddPartTransform() Ansys.ACT.Automation.Mechanical.PartTransform#

Creates a new child PartTransform.

Model.AddPythonCodeEventBased() Ansys.ACT.Automation.Mechanical.PythonCodeEventBased#

Creates a new PythonCodeEventBased

Model.AddPythonResult() Ansys.ACT.Automation.Mechanical.Results.ScriptableResults.PythonResult#

Creates a new PythonResult

Model.AddRandomVibrationAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddRandomVibrationAnalysis action.

Model.AddRemotePoint() Ansys.ACT.Automation.Mechanical.RemotePoint#

Creates a new child RemotePoint.

Model.AddRemotePointInternal() Ansys.ACT.Automation.Mechanical.RemotePoint#

AddRemotePointInternal method.

Model.AddResponseSpectrumAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddResponseSpectrumAnalysis action.

Model.AddRigidDynamicsAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddRigidDynamicsAnalysis action.

Model.AddSolutionCombination() Ansys.ACT.Automation.Mechanical.SolutionCombination#

Creates a new SolutionCombination

Model.AddStaticAcousticAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddStaticAcousticAnalysis action.

Model.AddStaticStructuralAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddStaticStructuralAnalysis action.

Model.AddSteadyStateThermalAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddSteadyStateThermalAnalysis action.

Model.AddSubstructureGenerationAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddSubstructureGenerationAnalysis action.

Model.AddSymmetry() Ansys.ACT.Automation.Mechanical.Symmetry#

Creates a new Symmetry

Model.AddTableGroup(activate: bool) Ansys.ACT.Automation.Mechanical.TableGroup#

Get the TableGroup instance.

Model.AddThermalElectricAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddThermalElectricAnalysis action.

Model.AddTopologyOptimizationAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddTopologyOptimizationAnalysis action.

Model.AddTransientStructuralAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddTransientStructuralAnalysis action.

Model.AddTransientThermalAnalysis() Ansys.ACT.Automation.Mechanical.Analysis#

Run the AddTransientThermalAnalysis action.

Model.AddTreeGroupingFolder(dataModelObjects: Iterable) Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Move the Data Model Objects to a new TreeGroupingFolder.

Model.AddVirtualTopology() Ansys.ACT.Automation.Mechanical.VirtualTopology#

Creates a new VirtualTopology

Model.AutoFilter() None#
Enables interface filtering that only displays model-level items applicable to the
    particular analysis type environments in which you are working.
Model.CenterOfMass() Ansys.Core.Units.Quantity#

Calculates the center of mass of all unsupressed bodies and point masses.

Model.ClearGeneratedData() None#

Run the ClearGeneratedData action.

Model.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

Model.CreateCylindricalBolt(headHeight: Any, headRadius: Any, shankLength: Any, shankRadius: Any) Ansys.ACT.Interfaces.Geometry.IGeoPart#
Create bolt with a cylinder head based on the specified dimensions. The bolt will be
created so that the base of the head is at the origin and aligned with the Y-Z plane.
Valid input arguments include:
  1) `double`
  2) `Quantity`
  3) A string representation of `double` or `Quantity`, i.e., "1.0" or "1.0 [cm]"
Model.CreateCylindricalNut(height: Any, innerRadius: Any, outerRadius: Any) Ansys.ACT.Interfaces.Geometry.IGeoPart#
Create a cylindrical nut with the specified dimensions. The nut will be created so that
the base of the nut is at the origin and aligned with the Y-Z plane.
Valid input arguments include:
  1) `double`
  2) `Quantity`
  3) A string representation of `double` or `Quantity`, i.e., "1.0" or "1.0 [cm]"
Model.CreateHexBolt(headHeight: Any, wrenchWidth: Any, shankLength: Any, shankRadius: Any) Ansys.ACT.Interfaces.Geometry.IGeoPart#
Create a bolt with a hex head based on the specified dimensions. The bolt will be
created so that the base of the head is at the origin and aligned with the Y-Z plane.
Valid input arguments include:
  1) `double`
  2) `Quantity`
  3) A string representation of `double` or `Quantity`, i.e., "1.0" or "1.0 [cm]"
Model.CreateHexNut(height: Any, innerRadius: Any, wrenchWidth: Any) Ansys.ACT.Interfaces.Geometry.IGeoPart#
Create a hex nut with the specified dimensions. The nut will be created so that the
base of the nut is at the origin and aligned with the Y-Z plane.
Valid input arguments include:
  1) `double`
  2) `Quantity`
  3) A string representation of `double` or `Quantity`, i.e., "1.0" or "1.0 [cm]"
Model.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

Model.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

Model.CreatePartInstance(part: Ansys.ACT.Interfaces.Geometry.IGeoPart) Ansys.ACT.Interfaces.Geometry.IGeoPart#
This will create an instance (not an independent copy) of the provided part. The use of
instanced parts for replication is highly recommended for memory and performance
reasons.
Model.DeleteParts(parts: Any) None#

Deletes the provide parts if they exist. Otherwise, nothing happens. An exception will be issued if the argument is invalid.

Model.DisableFilter() None#
Disables interface filtering so that model-level items are not filtered out based on
    the environment types in your model.
Model.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

Model.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

Model.EvaluateScriptDefinedResults() None#

EvaluateScriptDefinedResults method.

Model.FreezeMeshOnSelectedParts(parts: Any) None#

Run the FreezeMeshOnSelectedParts action.

Model.GetAPIName(dispId: int) str#

Property name bound to dispId.

Model.GetActivationStatusForAnalysis(object_id: int, environment_id: int) Ansys.Mechanical.DataModel.MechanicalEnums.GlobalObjectState#

GetActivationStatusForAnalysis method.

Model.GetAllFECommandsRepositoriesFullSourceFileIdentifiers() Iterable[str]#

GetAllFECommandsRepositoriesFullSourceFileIdentifiers method.

Model.GetAllFECommandsRepositoriesFullSourceFileIdentifiersInputFiles() Iterable[str]#

GetAllFECommandsRepositoriesFullSourceFileIdentifiersInputFiles method.

Model.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

Model.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

Model.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

Model.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

Model.GetFECommandsRepositoriesLocation() Iterable[str]#

GetFECommandsRepositoriesLocation method.

Model.GetFECommandsRepositoriesNumberOfCopies() Iterable[int]#

GetFECommandsRepositoriesNumberOfCopies method.

Model.GetFECommandsRepository(source: str, fileIdentifier: str) Ansys.ACT.Automation.Mechanical.FE.CommandRepository#

Gets the commands repository for a file from external model.

Model.GetHashCode() int#

GetHashCode method.

Model.GetIconFile() System.Byte#

GetIconFile method.

Model.GetLifetimeService() Any#

GetLifetimeService method.

Model.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

Model.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

Model.GetPath() str#

GetPath method.

Model.GetPropertyName(dispId: int) str#

GetPropertyName method.

Model.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Model.GetResults() None#

Gets the Results from the server.

Model.GetTransformationOnPart(part: Ansys.ACT.Interfaces.Geometry.IGeoPart) Ansys.Mechanical.DataModel.Utilities.RigidBodyTransformationMatrix#

Get the transformation matrix of the provided part.

Model.GetType() type#

GetType method.

Model.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

Model.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Model.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

Model.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

Model.HasDetermined2D3D() bool#

HasDetermined2D3D method.

Model.ImportModelFromDisco() None#

ImportModelFromDisco method.

Model.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Model.Is2DGeometry() bool#

Is2DGeometry method.

Model.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Model.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

Model.LoadResultFile(filePath: str) Ansys.ACT.Automation.Mechanical.Solution#

Creates a results-only system and loads the result file.

Model.MoveObjectsFromEnvtToBoundaryConditionsGroup(objs_to_move: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) None#

MoveObjectsFromEnvtToBoundaryConditionsGroup method.

Model.PropertyByAPIName(name: str) 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.
Model.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

Model.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

Model.RefreshMaterials() None#

Run the RefresMaterials action.

Model.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

Model.ReplaceGeometryAndMesh(pmdbFilePath: str, acmoFilePath: str, protoXmlFilePath: str) None#

ReplaceGeometryAndMesh method.

Model.SendGeometrySelectionFromActiveObjectsToMeshWorkflowByType(type: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.WorkflowType) Ansys.ACT.Automation.Mechanical.MeshWorkflow#

Creates a new MeshWorkflowGroup

Model.SendGeometrySelectionFromGraphicsToMeshWorkflowByType(type: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.WorkflowType) Ansys.ACT.Automation.Mechanical.MeshWorkflow#

Creates a new MeshWorkflowGroup

Model.SetActivationStatusForAnalysis(dataModelObjects: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject], environments: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject], isActive: bool) None#

SetActivationStatusForAnalysis method.

Model.SetTransformationOnPart(part: Ansys.ACT.Interfaces.Geometry.IGeoPart, transformationMatrix: Ansys.Mechanical.DataModel.Utilities.RigidBodyTransformationMatrix) None#
Transform a part with given transformation. Only rigid body transformation is
supported, i.e., no scaling will be performed. The validity of “transformationMatrix”
will be checked against the constraints of rigid body transforms; an error will be
emitted if the matrix is ill-formed.
Model.Solve(wait: bool, config: str) None#

Run the Solve action.

Model.ToString() str#

ToString method.

Model.UnfreezeMeshOnSelectedParts(parts: Any) None#

Run the UnfreezeMeshOnSelectedParts action.

Model.UpdateGeometryFromSource() None#

Run the UpdateGeometryFromSource action.