Skip to main content

Prime Mesh Python client library 2025 R2

ansys.meshing.prime.Model

Last update: 10.09.2025

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