Solved! Go to Solution.
Hi,
you can:
MH
Hi Martin
Thank you so much for your Reply.
I am really looking to generate an text file or CSV file from Creo without going into the drawing information.
Say I have 20 parts in my active window under one assembly with the tree window on left side.
I am looking a script or procedure to generate a txt or csv file t have part number in forst colum and material properties in the second coulmn.
The reason I am asking this question is used use for my simulation using external solvers.
Thank you
Hi,
you can also configure Model Tree to show PTC_MATERIAL_NAME parameter in its column and use Save Model Tree command.
MH
Also, you can set it up so that the BOM shows the material information of the components:
create a text file somewhere on your hard-disk called, for example, my_bom_format.txt with these contents:
.summary
==========================================================================================================================
Summary for %$type %$name
==========================================================================================================================
.titles Name; Material
--------------------------------------------------------------------------------------------------------------------------
.row %$name[-40s]; , %PTC_MATERIAL_NAME[-30s]
(the $name is a special identifier that lists the name of the component, the % delimits a column, [-40s] is a format specifier)
other options available, search these forums and the internet for good tips.
reconfigure the config.pro option to point to this file:
bom_format C:\my_path\my_bom_format.txt
Then use the assembly tool "Bill of Materials" to generate the table. A text file named after your assembly with .bom.x extension will be generated in your working directory everytime you use the tool (x will be the incremented).