import_mapdl_cdb#

FileIO.import_mapdl_cdb(file_name, params)#

Import an MAPDL CDB file.

Parameters:
file_namestr

Path to the CDB file on disk.

paramsImportMapdlCdbParams

Parameters for importing the CDB file.

Returns:
:
ImportMapdlCdbResults

Results from importing the CDB file.

Return type:

ImportMapdlCdbResults

Notes

This method does not support Unicode paths.

Examples

>>> import ansys.meshing.prime as prime
>>> # connect client to server and get model from it
>>> client = prime.Client(ip="localhost", port=50060)
>>> model = client.model
>>> file_io = prime.FileIO(model=model)
>>> params = prime.ImportMapdlCdbParams(model=model)
>>> results = file_io.import_mapdl_cdb("/tmp/file.cdb", params)