Skip to main content

Prime Mesh Python client library 2025 R1

download_multi_layer_quad_mesh_pcb_pmdat

Last update: 17.07.2025

ansys.meshing.prime.examples.download_multi_layer_quad_mesh_pcb_pmdat(destination=None, force=False)

Download the PMDAT file for the multi-layer PCB meshing example.

  • Parameters: destination : Path to download the example file to. The default is None, in which case the default path for app data is used.

    force : Whether to download the example file. The default is False, in which case if the example file is cached, it is reused.

  • Returns: :

    str : Local path to the downloaded file.

  • Return type: Union[str, PathLike]

Examples

>>> import ansys.meshing.prime as prime
>>> import ansys.meshing.prime.examples as prime_examples
>>> with prime.launch_prime() as session:
>>>     model = session.model
>>>     cad_file = prime_examples.download_multi_layer_quad_mesh_pcb_pmdat()
>>>     with prime.FileIO(model) as io:
>>>         _ = io.read_pmdat(cad_file, params=prime.FileReadParams(model))
>>>     print(model)

Examples using download_multi_layer_quad_mesh_pcb_pmdat

Mesh a generic PCB geometry with multiple hexa layers
* [Mesh a generic PCB geometry with multiple hexa layers](../../examples/gallery_examples/gallery/09_multi_layer_quad_mesh_pcb.md#sphx-glr-examples-gallery-examples-gallery-09-multi-layer-quad-mesh-pcb-py)

Connect with Ansys