Skip to main content
Ctrl+K
PyACP - Home PyACP - Home
  • PyACP home
  • Getting started
  • User guide
  • Examples
  • API reference
    • Contribute
Ctrl+K
  • GitHub
Ctrl+K
  • PyACP home
  • Getting started
  • User guide
  • Examples
  • API reference
  • Contribute
  • GitHub

Section Navigation

  • Server management
  • ACP objects
  • Mesh data objects
  • Linked object definitions
  • Material property sets
  • Enumeration data types
  • Other types
  • Plot utilities
  • Other utilities
    • get_model_tree
    • print_model
    • recursive_copy
  • DPF integration helpers
  • Mechanical integration helpers
  • Extras
  • Internal objects
  • PyAnsys
  • API reference
  • Other utilities
  • print_model

print_model#

ansys.acp.core.print_model(model, *, hide_empty=True, show_lines=False, label_by_id=False)#

Print a tree representation of the model.

Parameters:
  • model (Model) – pyACP model

  • hide_empty (bool) – Whether to hide empty collections.

  • show_lines (bool) – Whether to show lines connecting the nodes.

  • label_by_id (bool) – Prefer the ID over the name for the label of a node, for objects that have both.

Examples using print_model#

Sandwich panel

Sandwich panel

PyMAPDL workflow

PyMAPDL workflow

CDB to PyMechanical shell workflow

CDB to PyMechanical shell workflow

previous

get_model_tree

next

recursive_copy

On this page
  • print_model()
  • Examples using print_model
  • Show Source

© Copyright (c) 2025 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.4.4.
Last updated on May 22, 2025