Brochures

Ansys Mechanical - What's New 2023 R1

Issue link: https://resources.randsim.com/i/1492512

Contents of this Issue

Navigation

Page 50 of 241

81 Animation Export Example • One example of how to use this feature would be via the Workbench scripting console • Open the console and run: ‐ Simulation.RunScript(FilePath="", IsMeshing=False, ModelName="") • The FilePath parameter should be a string representing the path to a Mechanical scripting file (Python file utilizing Mechanical APIs, such as .ExportAnimation(…)) • ModelName comes from the model cell in the Workbench schematic that you want to run this script for ▪ Right-click the cell and click properties to open the cell's properties. The "General > Component ID" property should contain the name to use

Articles in this issue

view archives of Brochures - Ansys Mechanical - What's New 2023 R1