Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
When I click on the Bill of Material button in the mode tab in an assembly or tools tab in a drawing it opens the window to give me the options for the BOM-- top level/ sub assembly etc. When I click OK the Bom Reoprt pane opens up but is always empty?? Any suggestions.
Don,
Are you using your custom BOM Format file? If yes, it might be failing to generate report due to some mistake in that fmt file. You can check this in config option bom_format.
You can make a trial by testing this in a Creo session without any config or custom settings.
Youu need a bom format. This is a text file put in with your configs, you can create it in Notepad then change the file extension to .fmt, see below.
My format is called bom_current.fmt,
This is the syntax:
.breakdown
%$type %$name contains items
.titles Part Number;|Issue;|Description;|Qty;|Mass(kg);|Material;
.row %$name[-14.14s];|%issue_no[-3d];|%description[-40.40S];|%$quantity[3d];|%mass[-5.2f];|%material[-35.35S];
Note that there must be a blank line at the end or it won't work.
In square brackets the first number is the allowed qty of characters, second is how many are used or qty of decimals, s refers to string, d refers to integer values, f refers to decimals. Obviously the parameter names may need to be changed to suit your own parameters.
You will need the following line put into your config.pro, so the format file can be located.
bom_format <path to file>\bom_current.fmt
Where can we get the list of options for formatting the bom format file?
I tried using the parameters from the repeat region of my drawing and it just gave me blanks.
Used the same file on the assembly and I also got blanks.
Ben,
you cannot use Report parameters in bom format file. I guess the only system parameters available are $type, $name, $quantity. All others are user parameters defined in assembly components. Formating is similar to C programming language.
Martin Hanak
Ben,
Can you give me some information about parameters which you need in BOM format?
some bugs in creo