Skip to main content

Prime Mesh Python client library 2025 R2 SP02

enable_optimizing_numpy_arrays

Last update: 16.10.2025

ansys.meshing.prime.enable_optimizing_numpy_arrays()

Enable optimizing numpy arrays over the wire.

This method allows the library to optimize serialization of numpy arrays for faster deserialization. This can cause the data transferred over the network to increase slightly unless the array is of a very large size. Consider enabling this option to improve performance if your workflow is not limited by network bandwidth for performance. The default for optimization is always True.

Connect with Ansys