Zepmanbc / creopyson

Python library for Creoson (http://www.creoson.com)
MIT License
60 stars 5 forks source link

Bill of Materials export text file #91

Open Quatannens opened 1 day ago

Quatannens commented 1 day ago

Description

I would like to create a .bom file from the active model in Creo. I already have a config option that sets the path to a certain format file. But I don't see how I can use the functionality of Creo to export the bom to a file using Creopyson. The desired .bom file has a certain format that is necessary for other actions later on (fixed width and delimiters and necessary parameters).

What I Did

I tried using get_bom_paths, but this gives a lot of information I don't need and it misses the parameters I do need. I tried exctracting parameters using parameter_list, but this also gives a lot of data to process. I feel there has to be an easier way. A command that will activate 'Bill of Materials' in Creo.