Model
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Model#
Bases:
object
Defines a Model.
Overview#
|
Create bolt with a cylinder head based on the specified dimensions. The bolt will be |
|
Create a cylindrical nut with the specified dimensions. The nut will be created so that |
|
Create a bolt with a hex head based on the specified dimensions. The bolt will be |
|
Create a hex nut with the specified dimensions. The nut will be created so that the |
|
This will create an instance (not an independent copy) of the provided part. The use of |
|
Get the transformation matrix of the provided part. |
|
Transform a part with given transformation. Only rigid body transformation is |
|
Run the ClearGeneratedData action. |
|
Creates a new child RemotePoint. |
|
Run the Solve action. |
|
Run the Solve action. |
|
Gets the Results from the server. |
|
Run the AddStaticStructuralAnalysis action. |
|
Run the AddTransientStructuralAnalysis action. |
|
Run the AddRigidDynamicsAnalysis action. |
|
Run the AddHarmonicResponseAnalysis action. |
|
Run the AddModalAnalysis action. |
|
Run the AddSubstructureGenerationAnalysis action. |
|
Run the AddExplicitDynamicsAnalysis action. |
|
Run the AddSteadyStateThermalAnalysis action. |
|
Run the AddTransientThermalAnalysis action. |
|
Run the AddMagnetostaticAnalysis action. |
|
Run the AddElectricAnalysis action. |
|
Run the AddDesignAssessmentAnalysis action. |
|
Run the AddThermalElectricAnalysis action. |
|
Run the AddModalAcousticAnalysis action. |
|
Run the AddHarmonicAcousticAnalysis action. |
|
Run the AddStaticAcousticAnalysis action. |
|
Run the AddTopologyOptimizationAnalysis action. |
|
Run the AddEigenvalueBucklingAnalysis action. |
|
Run the AddResponseSpectrumAnalysis action. |
|
Run the AddRandomVibrationAnalysis action. |
|
Run the AddCoupledFieldStatic action. |
|
Run the AddCoupledFieldTransient action. |
|
Run the AddCoupledFieldHarmonic action. |
|
Run the AddCoupledFieldModal action. |
|
Run the AddLSDynaAnalysis action. |
|
Run the AddLSDynaRestartAnalysis action. |
|
Run the AddMotionAnalysis action. |
|
Run the AddDesignLifeAnalysis action. |
|
Run the AddForcedResponseAnalysis action. |
|
Run the UpdateGeometryFromSource action. |
|
Run the RefresMaterials action. |
|
Creates a results-only system and loads the result file. |
|
Enables interface filtering that only displays model-level items applicable to the |
|
Disables interface filtering so that model-level items are not filtered out based on |
|
Creates a new Named Selections (Components) for the selected connections. |
|
Creates a new child NamedSelection. |
|
Creates a new child PartTransform. |
|
Gets the commands repository for a file from external model. |
|
Creates a new child Chart. |
|
Deletes the provide parts if they exist. Otherwise, nothing happens. An exception will be issued if the argument is invalid. |
|
Run the FreezeMeshOnSelectedParts action. |
|
Run the UnfreezeMeshOnSelectedParts action. |
|
Creates a new CondensedGeometry |
|
Creates a new Measures |
|
Creates a new Connections |
|
Creates a new ConstructionGeometry |
|
Creates a new AMProcess |
|
Creates a new Fracture |
|
Get the |
|
Get the |
|
Creates a new MeshEdit |
|
Creates a new MeshNumbering |
|
Creates a new Symmetry |
|
Creates a new VirtualTopology |
|
Creates a new CoSimulationPin |
|
Creates an ImagePlane and adds it as a child of this object. |
|
EvaluateScriptDefinedResults method. |
|
Move the Data Model Objects to a new TreeGroupingFolder. |
|
Move the Data Model Object to a new TreeGroupingFolder. |
|
Calculates the center of mass of all unsupressed bodies and point masses. |
|
Creates a new FatigueCombination |
|
Creates a new FeatureDetection |
|
Creates a new PythonCodeEventBased |
|
Creates a new PythonResult |
|
Creates a new SolutionCombination |
|
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. |
|
Creates a new parameter for a Property. |
|
Gets the parameter corresponding to the given property. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Gets the Analyses. |
|
Gets the CellId. |
|
Gets the SystemCaption. |
|
Get the manager for manipulating import settings for AEDT files. |
|
Gets the TableGroup. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the Ambient Lighting factor. |
|
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. |
|
Gets or sets the Diffuse Lighting factor. |
|
Gets the Control. |
|
Gets or sets the Specular Lighting factor. |
|
Gets the AMProcess. |
|
Gets the NamedSelections. |
|
Gets the CondensedGeometry. |
|
Gets the ConstructionGeometry. |
|
Gets the Connections. |
|
Gets the CoordinateSystems. |
|
Gets the CrossSections. |
|
Gets the FeatureDetection. |
|
Gets the Fracture. |
|
Gets the GeometryImportGroup. |
|
Gets the Materials. |
|
Gets the Measures. |
|
Gets the MeshEdit. |
|
Gets the Mesh. |
|
Gets the MeshNumbering. |
|
Gets the PartTransformGroup. |
|
Gets the Geometry. |
|
Gets the RemotePoints. |
|
Gets the Symmetry. |
|
Gets the VirtualTopology. |
|
Gets the Analyses. |
|
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 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.