Skip to main content
This example shows how to load result data and inspect its properties using the Ansys Mechanical scripting window.

Complete example for scripting window

Open View → Scripting in Mechanical and enter:

Expected output in scripting window

Using in a Python Result object

You can also inspect results within a Python Result object:

Key concepts

  • ExtAPI: Mechanical API for accessing the model tree
  • DataSources: Points to result files from Mechanical solutions
  • Model: DPF model provides access to all data
  • Mesh: Contains geometry information
  • TimeFreqSupport: Time/frequency metadata

Next steps