Skip to main content

ACP in-app scripting API 2026 R1

plot_dependencies

Last update: 16.07.2026

Model.plot_dependencies(path=None, parent=None, levels=3)

Generates a graph with all dependencies. The output is a .dot, .png, and .pdf file.

Parameters

  • path: File path without file extension.
  • parent: Parent object.
  • levels: Depth levels to look for children.

Output

A .dot file which can be opened with Graphviz.

Usage

>>> model.plot_dependencies(r'C:\tmp\hull_dependencies', model.element_sets['HULL'], 3)

Connect with Ansys