Mechanical Model
This container holds Model data for an instance of ANSYS Mechanical.
Opens the Mechanical editor and attaches geometry.
Optional Arguments
To edit the model component with default optional parameter values:
model.Edit()
Or by specifying optional parameter values:
model.Edit(Interactive=True)
Exit the Mechanical editor
Optional Arguments
Exports a .dsdb file for the model component.
Required Arguments
Exports an ASM Journal (.wbjn) and supporting files for the model component.
Required Arguments
Exports a PartManager database (.pmdb) file for the geometry in the model component.
Required Arguments
Exports a .acmo file for the mesh in the model component.
Required Arguments
Query to return the data reference to the acp import options
Return
The Data Entity containing settings for this component.
Required Arguments
Query to return the reference to the container's MechanicalMesh data entity.
Return
A reference to the requested MechanicalMesh data entity.
Query to return the reference to the container's MechanicalMeshFile data entity.
Return
A reference to the requested MechanicalMeshFile data entity.
Query to return the reference to the container's MechanicalModel data entity.
Return
A reference to the requested MechanicalModel data entity.
Query to return the reference to the container's MechanicalSystemType data entity.
Return
A reference to the requested MechanicalSystemType data entity.
Query to return the reference to the container's MeshProperties data entity
Return
The Data Entity containing settings for this component.
Query to return the data reference to the simulation import options
Return
The Data Entity containing settings for this component.
Required Arguments
Executes a JScript or python command in the Mechanical editor.
If the Mechanical editor is not open, then the editor's GUI will not be available, causing some commands to fail. In this case, consider calling the container's Edit method to open the editor before using SendCommand.
Furthermore, if the Mechanical editor is not open, SendCommand will start the editor without the GUI, issue the specified command, and then close the editor. For multiple SendCommands, this may degrade performance.
Required Arguments
Optional Arguments
To execute some arbitrary command (in this case, causing a dialog box to appear) in the Mechanical editor:
model.SendCommand(Command="WBScript.Out(\"My Text\",true);" )
To run a JScript file already saved to disk using Run Macro from Mechanical:
setup.SendCommand(Command="WB.AppletList.Applet(\"DSApplet\").App.Script.doToolsRunMacro(\"C:\\\\macro.js\")")
Import options for model assembly available on the downstream model
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
By default this value is 0, specifies how many additional copies of the upstream model are needed
By default this value is true, specifies whether the user would like us to automatically renumber his mesh elements to prevent unique id conflicts during assembly
Rigid Transformations for the Source Geometry
Class used to expose general properties for the model assembly workflow
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
Name objects in Mechanical based on selected option
This is the mesh data entity object that will exist in the model container.
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
The model data entity in the model container.
ACP automatic renumbering of transfer information
Property used to prevent a re meshing in model assembly workflows
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
Property used to prevent cascasding resets on downstream containers
ACP automatic renumbering of transfer information
Model identifier that corresponds with the ID on Model tree node in Mechanical
Prototype identifier which corresponds to the ID on the Geometry tree node in Mechanical
This entity provides string based information about the physics, analysis, and solver settings for the Mechanical system component.
The string which represents current analysis type setting.
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
The string which represents current physics type setting.
The string which represents current solver type setting.
(Beta) Entity to control the Skin Detection algorithm for importing cdb files.
If the nodal components will be processed during CDB components the nodal component key will allow filtering of which components to process
Should the geometry edge named selections be created during CDB conversion
Should the geometry face named selections be created during CDB conversion
Should the geometry vertex named selections be created during CDB conversion
Only displayed if Forbid Close Components equals Yes. It is the angle used to cut closed surfaces to separate the elements into components.
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
Option to split closed surfaces into several components.If Yes then the algorithm cuts closed surfaces into several components. It provides a simple method to avoid problematic faces on closed surfaces.
The geometry attach type for the CDB file
The tolerance angle to seperate two elements into seperate components. If the angle between the normals of two adjacent elements is less than or equal to the Tolerance Angle then the two elements are in the same component, otherwise, they are separated.
The Vertex Insertion Angle is the minimunm angle to insert a vertex between two free edges of mesh. During the generation of the geometry, if two segments of an edge abruptly make an angle greater than the Vertex Insertion Angle, then the edge is split and a vertex is inserted.
Entity to control the properties of mesh file generated by Mechanical Model.
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
Import options for model assembly available on the downstream model
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.
By default this value is 0, specifies how many additional copies of the upstream model are needed
By default this value is true, specifies whether the user would like us to automatically renumber his mesh elements to prevent unique id conflicts during assembly
Rigid Transformations for the Source Geometry
Entity to control mesh properties for a Mechanical Model
The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.