export_mapdl_cdb#
- FileIO.export_mapdl_cdb(file_name, params)#
Function that exports MAPDL CDB file(cdb).
- Parameters:
- file_name
str
Path to file on disk.
- params
ExportMapdlCdbParams
Parameter to export a CDB file.
- file_name
- Returns:
ExportMapdlCdbResults
Returns ExportMapdlCdbResults.
- Return type:
Notes
This API does not support Unicode paths now.
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.ExportMapdlCdbParams(model=model) >>> results = file_io.export_mapdl_cdb("/tmp/file.cdb", params)