`Model`
Last update: 16.07.2025class Ansys.ACT.Automation.Mechanical.Model
Bases: object
Defines a Model.
Overview
Methods
| Name | Description |
|---|---|
Activate |
Activate the current object. |
AddAMProcess |
Creates a new AMProcess |
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 |
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 |
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. |
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 |
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. |
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. |
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 |
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 |
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. |
EvaluateScriptDefinedResults |
EvaluateScriptDefinedResults method. |
FreezeMeshOnSelectedParts |
Run the FreezeMeshOnSelectedParts action. |
GetChildren |
Gets the list of children, filtered by type. |
GetFECommandsRepository |
Gets the commands repository for a file from external model. |
GetParameter |
Gets the parameter corresponding to the given property. |
GetResults |
Gets the Results from the server. |
GetTransformationOnPart |
Get the transformation matrix of the provided part. |
GroupAllSimilarChildren |
Run the GroupAllSimilarChildren action. |
GroupSimilarObjects |
Run the GroupSimilarObjects action. |
LoadResultFile |
Creates a results-only system and loads the result file. |
PropertyByAPIName |
Get a property by its API name. |
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. |
SetTransformationOnPart |
Transform a part with given transformation. Only rigid body transformation is |
Solve |
Run the Solve action. |
UnfreezeMeshOnSelectedParts |
Run the UnfreezeMeshOnSelectedParts action. |
UpdateGeometryFromSource |
Run the UpdateGeometryFromSource action. |
Properties
| Name | Description |
|---|---|
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. |
CellId |
Gets the CellId. |
Children |
Gets the list of children. |
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. |
Images |
Gets the list of associated images. |
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. |
NamedSelections |
Gets the NamedSelections. |
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. |
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.CellId : str | None
Gets the CellId.
property Model.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
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.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
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.NamedSelections : Ansys.ACT.Automation.Mechanical.NamedSelections | None
Gets the NamedSelections.
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.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.AddAMProcess() → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMProcess
Creates a new AMProcess
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.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
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.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.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.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.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
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.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.EvaluateScriptDefinedResults() → None
EvaluateScriptDefinedResults method.
Model.FreezeMeshOnSelectedParts(parts: Any) → None
Run the FreezeMeshOnSelectedParts action.
Model.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]
Gets the list of children, filtered by type.
Model.GetFECommandsRepository(source: str, fileIdentifier: str) → Ansys.ACT.Automation.Mechanical.FE.CommandRepository
Gets the commands repository for a file from external model.
Model.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter
Gets the parameter corresponding to the given property.
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.GroupAllSimilarChildren() → None
Run the GroupAllSimilarChildren action.
Model.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder
Run the GroupSimilarObjects action.
Model.LoadResultFile(filePath: str) → Ansys.ACT.Automation.Mechanical.Solution
Creates a results-only system and loads the result file.
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.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.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.UnfreezeMeshOnSelectedParts(parts: Any) → None
Run the UnfreezeMeshOnSelectedParts action.
Model.UpdateGeometryFromSource() → None
Run the UpdateGeometryFromSource action.