Skip to main content

Prime Mesh Python client library 2026 R1 SP01

ansys.meshing.prime.Model

Last update: 29.04.2026

property Model.python_logger

Get python standard logger from PyPrimeMesh’s logger instance.

PyPrimeMesh’s python standard logger instance can be used to control the verbosity of messages printed by PyPrimeMesh and more.

Returns logging.Logger PyPrimeMesh’s python standard logger instance.

Examples

Set log level to debug.

>>> model.python_logger.setLevel(logging.DEBUG)

Connect with Ansys