Mechanical Results
This container holds Results data for an instance of ANSYS Mechanical.
Opens the Mechanical editor and attaches geometry.
Optional Arguments
To edit the results component with default optional parameter values.
result.Edit()
Or by specifying optional parameter values:
result.Edit(Interactive=True)
Exit the Mechanical editor
Optional Arguments
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 component reference for a given container and component base name.
Return
A reference to the requested 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 component reference for a given container and component base name.
Return
A reference to the requested data entity.
Query to return the component reference for a given container and component base name.
Return
A reference to the requested data entity.
Query to return the component reference for a given container and component base name.
Return
A reference to the requested data entity.
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\")")
ModalOptionsForCdb
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
StaticOptionsForCdb
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.