Graphics class:

ScopeDefinition class allows
you to limit the display to particular regions of the model:


Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Graphics class:
>>> from ansys.meshing.prime.graphics import PrimePlotter
>>> import ansys.meshing.prime as prime
>>> display = PrimePlotter()
>>> display.plot(model)
>>> display.show()

ScopeDefinition class allows
you to limit the display to particular regions of the model:
>>> # display the first part only
>>> display = PrimePlotter()
>>> display.plot(
... model, scope=prime.ScopeDefinition(model, part_expression=model.parts[0].name)
... )
>>> display.show()


Was this page helpful?