Model#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Model#

Bases: object

Defines a Model.

Overview#

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

CreatePartInstance

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

GetTransformationOnPart

Get the transformation matrix of the provided part.

SetTransformationOnPart

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

ClearGeneratedData

Run the ClearGeneratedData action.

AddRemotePoint

Creates a new child RemotePoint.

Solve

Run the Solve action.

Solve

Run the Solve action.

GetResults

Gets the Results from the server.

AddStaticStructuralAnalysis

Run the AddStaticStructuralAnalysis action.

AddTransientStructuralAnalysis

Run the AddTransientStructuralAnalysis action.

AddRigidDynamicsAnalysis

Run the AddRigidDynamicsAnalysis action.

AddHarmonicResponseAnalysis

Run the AddHarmonicResponseAnalysis action.

AddModalAnalysis

Run the AddModalAnalysis action.

AddSubstructureGenerationAnalysis

Run the AddSubstructureGenerationAnalysis action.

AddExplicitDynamicsAnalysis

Run the AddExplicitDynamicsAnalysis action.

AddSteadyStateThermalAnalysis

Run the AddSteadyStateThermalAnalysis action.

AddTransientThermalAnalysis

Run the AddTransientThermalAnalysis action.

AddMagnetostaticAnalysis

Run the AddMagnetostaticAnalysis action.

AddElectricAnalysis

Run the AddElectricAnalysis action.

AddDesignAssessmentAnalysis

Run the AddDesignAssessmentAnalysis action.

AddThermalElectricAnalysis

Run the AddThermalElectricAnalysis action.

AddModalAcousticAnalysis

Run the AddModalAcousticAnalysis action.

AddHarmonicAcousticAnalysis

Run the AddHarmonicAcousticAnalysis action.

AddStaticAcousticAnalysis

Run the AddStaticAcousticAnalysis action.

AddTopologyOptimizationAnalysis

Run the AddTopologyOptimizationAnalysis action.

AddEigenvalueBucklingAnalysis

Run the AddEigenvalueBucklingAnalysis action.

AddResponseSpectrumAnalysis

Run the AddResponseSpectrumAnalysis action.

AddRandomVibrationAnalysis

Run the AddRandomVibrationAnalysis action.

AddCoupledFieldStatic

Run the AddCoupledFieldStatic action.

AddCoupledFieldTransient

Run the AddCoupledFieldTransient action.

AddCoupledFieldHarmonic

Run the AddCoupledFieldHarmonic action.

AddCoupledFieldModal

Run the AddCoupledFieldModal action.

AddLSDynaAnalysis

Run the AddLSDynaAnalysis action.

AddLSDynaRestartAnalysis

Run the AddLSDynaRestartAnalysis action.

AddMotionAnalysis

Run the AddMotionAnalysis action.

AddDesignLifeAnalysis

Run the AddDesignLifeAnalysis action.

AddForcedResponseAnalysis

Run the AddForcedResponseAnalysis action.

UpdateGeometryFromSource

Run the UpdateGeometryFromSource action.

RefreshMaterials

Run the RefresMaterials action.

LoadResultFile

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

AutoFilter

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

DisableFilter

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

AddNamedSelectionFromSelectedConnections

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

AddNamedSelection

Creates a new child NamedSelection.

AddPartTransform

Creates a new child PartTransform.

GetFECommandsRepository

Gets the commands repository for a file from external model.

AddChart

Creates a new child Chart.

DeleteParts

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

FreezeMeshOnSelectedParts

Run the FreezeMeshOnSelectedParts action.

UnfreezeMeshOnSelectedParts

Run the UnfreezeMeshOnSelectedParts action.

AddCondensedGeometry

Creates a new CondensedGeometry

AddMeasures

Creates a new Measures

AddConnections

Creates a new Connections

AddConstructionGeometry

Creates a new ConstructionGeometry

AddAMProcess

Creates a new AMProcess

AddFracture

Creates a new Fracture

AddGeometryImportGroup

Get the

AddTableGroup

Get the

AddMeshEdit

Creates a new MeshEdit

AddMeshNumbering

Creates a new MeshNumbering

AddSymmetry

Creates a new Symmetry

AddVirtualTopology

Creates a new VirtualTopology

AddCoSimulationPin

Creates a new CoSimulationPin

AddImagePlane

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

EvaluateScriptDefinedResults

EvaluateScriptDefinedResults method.

AddTreeGroupingFolder

Move the Data Model Objects to a new TreeGroupingFolder.

AddTreeGroupingFolder

Move the Data Model Object to a new TreeGroupingFolder.

CenterOfMass

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

AddFatigueCombination

Creates a new FatigueCombination

AddFeatureDetection

Creates a new FeatureDetection

AddPythonCodeEventBased

Creates a new PythonCodeEventBased

AddPythonResult

Creates a new PythonResult

AddSolutionCombination

Creates a new SolutionCombination

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

Environments

Gets the Analyses.

CellId

Gets the CellId.

SystemCaption

Gets the SystemCaption.

AEDTImportManager

Get the manager for manipulating import settings for AEDT files.

TableGroup

Gets the TableGroup.

InternalObject

Gets the internal object. For advanced usage only.

Ambient

Gets or sets the Ambient Lighting factor.

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.

Diffuse

Gets or sets the Diffuse Lighting factor.

Control

Gets the Control.

Specular

Gets or sets the Specular Lighting factor.

AMProcess

Gets the AMProcess.

NamedSelections

Gets the NamedSelections.

CondensedGeometry

Gets the CondensedGeometry.

ConstructionGeometry

Gets the ConstructionGeometry.

Connections

Gets the Connections.

CoordinateSystems

Gets the CoordinateSystems.

CrossSections

Gets the CrossSections.

FeatureDetection

Gets the FeatureDetection.

Fracture

Gets the Fracture.

GeometryImportGroup

Gets the GeometryImportGroup.

Materials

Gets the Materials.

Measures

Gets the Measures.

MeshEdit

Gets the MeshEdit.

Mesh

Gets the Mesh.

MeshNumbering

Gets the MeshNumbering.

PartTransformGroup

Gets the PartTransformGroup.

Geometry

Gets the Geometry.

RemotePoints

Gets the RemotePoints.

Symmetry

Gets the Symmetry.

VirtualTopology

Gets the VirtualTopology.

Analyses

Gets the Analyses.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

property Model.Environments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Analysis] | None

Gets the Analyses.

property Model.CellId: System.String | None

Gets the CellId.

property Model.SystemCaption: System.String | None

Gets the SystemCaption.

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

Get the manager for manipulating import settings for AEDT files.

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

Gets the TableGroup.

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

Gets the internal object. For advanced usage only.

property Model.Ambient: System.Double | None

Gets or sets the Ambient Lighting factor.

property Model.Color: System.Int32 | 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.Diffuse: System.Double | None

Gets or sets the Diffuse Lighting factor.

property Model.Control: System.String | None

Gets the Control.

property Model.Specular: System.Double | None

Gets or sets the Specular Lighting factor.

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

Gets the AMProcess.

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

Gets the NamedSelections.

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

Gets the CondensedGeometry.

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

Gets the ConstructionGeometry.

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

Gets the Connections.

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.FeatureDetection: Ansys.ACT.Automation.Mechanical.FeatureDetection | None

Gets the FeatureDetection.

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

Gets the Fracture.

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

Gets the GeometryImportGroup.

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.MeshEdit: Ansys.ACT.Automation.Mechanical.MeshEdit | None

Gets the MeshEdit.

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

Gets the Mesh.

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

Gets the MeshNumbering.

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

Gets the PartTransformGroup.

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

Gets the Geometry.

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

Gets the RemotePoints.

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

Gets the Symmetry.

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

Gets the VirtualTopology.

property Model.Analyses: System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.Analysis] | None

Gets the Analyses.

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

Gets the current DataModelObject’s category.

property Model.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property Model.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property Model.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property Model.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property Model.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property Model.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property Model.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

Model.CreateCylindricalBolt(headHeight: System.Object, headRadius: System.Object, shankLength: System.Object, shankRadius: System.Object) 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: System.Object, innerRadius: System.Object, outerRadius: System.Object) 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: System.Object, wrenchWidth: System.Object, shankLength: System.Object, shankRadius: System.Object) 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: System.Object, innerRadius: System.Object, wrenchWidth: System.Object) 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.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.GetTransformationOnPart(part: Ansys.ACT.Interfaces.Geometry.IGeoPart) Ansys.Mechanical.DataModel.Utilities.RigidBodyTransformationMatrix

Get the transformation matrix of the provided part.

Model.SetTransformationOnPart(part: Ansys.ACT.Interfaces.Geometry.IGeoPart, transformationMatrix: Ansys.Mechanical.DataModel.Utilities.RigidBodyTransformationMatrix) System.Void
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.ClearGeneratedData() System.Void

Run the ClearGeneratedData action.

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

Creates a new child RemotePoint.

Model.Solve(wait: System.Boolean, config: System.String) System.Void

Run the Solve action.

Model.Solve(wait: System.Boolean, config: Ansys.ACT.Mechanical.Application.SolveProcessSettings.SolveConfiguration) System.Void

Run the Solve action.

Model.GetResults() System.Void

Gets the Results from the server.

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

Run the AddStaticStructuralAnalysis action.

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

Run the AddTransientStructuralAnalysis action.

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

Run the AddRigidDynamicsAnalysis action.

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

Run the AddHarmonicResponseAnalysis action.

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

Run the AddModalAnalysis action.

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

Run the AddSubstructureGenerationAnalysis action.

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

Run the AddExplicitDynamicsAnalysis action.

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

Run the AddSteadyStateThermalAnalysis action.

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

Run the AddTransientThermalAnalysis action.

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

Run the AddMagnetostaticAnalysis action.

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

Run the AddElectricAnalysis action.

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

Run the AddDesignAssessmentAnalysis action.

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

Run the AddThermalElectricAnalysis action.

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

Run the AddModalAcousticAnalysis action.

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

Run the AddHarmonicAcousticAnalysis action.

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

Run the AddStaticAcousticAnalysis action.

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

Run the AddTopologyOptimizationAnalysis action.

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

Run the AddEigenvalueBucklingAnalysis action.

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

Run the AddResponseSpectrumAnalysis action.

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

Run the AddRandomVibrationAnalysis action.

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

Run the AddCoupledFieldStatic action.

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

Run the AddCoupledFieldTransient action.

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

Run the AddCoupledFieldHarmonic action.

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

Run the AddCoupledFieldModal action.

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

Run the AddLSDynaAnalysis action.

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

Run the AddLSDynaRestartAnalysis action.

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

Run the AddMotionAnalysis action.

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

Run the AddDesignLifeAnalysis action.

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

Run the AddForcedResponseAnalysis action.

Model.UpdateGeometryFromSource() System.Void

Run the UpdateGeometryFromSource action.

Model.RefreshMaterials() System.Void

Run the RefresMaterials action.

Model.LoadResultFile(filePath: System.String) Ansys.ACT.Automation.Mechanical.Solution

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

Model.AutoFilter() System.Void
Enables interface filtering that only displays model-level items applicable to the
    particular analysis type environments in which you are working.
Model.DisableFilter() System.Void
Disables interface filtering so that model-level items are not filtered out based on
    the environment types in your model.
Model.AddNamedSelectionFromSelectedConnections() System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.NamedSelection]

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

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

Creates a new child NamedSelection.

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

Creates a new child PartTransform.

Model.GetFECommandsRepository(source: System.String, fileIdentifier: System.String) Ansys.ACT.Automation.Mechanical.FE.CommandRepository

Gets the commands repository for a file from external model.

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

Creates a new child Chart.

Model.DeleteParts(parts: System.Object) System.Void

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

Model.FreezeMeshOnSelectedParts(parts: System.Object) System.Void

Run the FreezeMeshOnSelectedParts action.

Model.UnfreezeMeshOnSelectedParts(parts: System.Object) System.Void

Run the UnfreezeMeshOnSelectedParts action.

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

Creates a new CondensedGeometry

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

Creates a new Measures

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

Creates a new Connections

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

Creates a new ConstructionGeometry

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

Creates a new AMProcess

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

Creates a new Fracture

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

Get the

Model.AddTableGroup(activate: System.Boolean) Ansys.ACT.Automation.Mechanical.TableGroup

Get the

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

Creates a new MeshEdit

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

Creates a new MeshNumbering

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

Creates a new Symmetry

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

Creates a new VirtualTopology

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

Creates a new CoSimulationPin

Model.AddImagePlane() Ansys.ACT.Automation.Mechanical.ImagePlane

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

Model.EvaluateScriptDefinedResults() System.Void

EvaluateScriptDefinedResults method.

Model.AddTreeGroupingFolder(dataModelObjects: System.Collections.IEnumerable) Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Move the Data Model Objects to a new TreeGroupingFolder.

Model.AddTreeGroupingFolder(dataModelObject: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Move the Data Model Object to a new TreeGroupingFolder.

Model.CenterOfMass() Ansys.Core.Units.Quantity

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

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

Creates a new FatigueCombination

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

Creates a new FeatureDetection

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.AddSolutionCombination() Ansys.ACT.Automation.Mechanical.SolutionCombination

Creates a new SolutionCombination

Model.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

Model.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.

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

Creates a new child Comment.

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

Creates a new child Figure.

Model.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.
Model.Activate() System.Void

Activate the current object.

Model.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

Model.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

Model.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Model.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

Model.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.
Model.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

Model.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

Model.RemoveParameter(propName: System.String) System.Void

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