Closed mcMunich closed 12 months ago
Hi @mcMunich & @germa89 This is not a bug - sorry it's a typo. The command field is "option" not "options" on the CDWRITE command. Since "option" is not defined it uses the default 'all' i.e. cdb and iges creation.
Mike
Nice catch @mikerife ... I will see if we can do something about this.... I am not closing the issue for the moment.
works for me. thanks for the clarification. Resolved from my side.
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
.🔍 Description of the bug
mapdl.cdwrite(options = 'DB', fname = saveName, ext = 'cdb') will write the cdb but also the .iges which is not required. The standard apdl command only writes the .cdb. Not a huge issue, but it is time/memory.
Run the script below and a .cdb and a .iges will be created.
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.11
📝 PyMAPDL Report
xxx
📝 Installed packages
xxx
📝 Logger output file
xxx