download_block_model_fmd#
- ansys.meshing.prime.examples.download_block_model_fmd(destination=None, force=False)#
Download CAD file for the block model example.
- Parameters:
- Returns:
- :
str
Local path to the downloaded file.
- Return type:
Examples
>>> import ansys.meshing.prime as prime >>> import ansys.meshing.prime.examples as prime_examples >>> with prime.launch_prime() as session: >>> model = session.model >>> block_model = prime_examples.download_block_model_fmd() >>> with prime.FileIO(model) as io: >>> _ = io.import_cad(block_model, params=prime.ImportCADParams(model)) >>> print(model)
Examples using download_block_model_fmd#
Convert data when importing and exporting mesh and CAD formats
Convert data when importing and exporting mesh and CAD formats