cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Saving BOM table for future use

agracia
7-Bedrock

Saving BOM table for future use

Hi there, can anyone tell me how I can save a BOM that I have updated in Annotator? There are a bunch of default layouts in our Annotator, but once I edit them they do not save when I close Creo and reopen.  So does anyone know how I can save the BOM out (I assume as a mi file) and where I can save it in the custom settings?

agracia_0-1603983308028.png

 

1 REPLY 1

Once you create the tables and save them, you then can load them into annotaiton via the am_customize file.

 

Below is an example of our settings.

;;****Assy BOMS****

(docu-load-bom-head-layout :ui-name "O-I ASSY BOM"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI-ASSY-BOM-HEADER.MI"))

(docu-load-bom-comp-layout :ui-name "O-I ASSY BOM"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI-ASSY-BOM-COMPONENT.MI"))

(docu-load-bom-head-layout :ui-name "OI_BEG ASSY BOM"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI_BEG-ASSY-BOM-HEADER.MI"))

(docu-load-bom-comp-layout :ui-name "OI_BEG ASSY BOM"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI_BEG-ASSY-BOM-COMPONENT.MI"))
				   

				   
;;****O-I BOM Balloons****

(docu-load-bom-FLAG-layout :ui-name "OI BOM BALLOON"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI-BOM-BALLOON.MI"))
                   
(docu-load-bom-FLAG-layout :ui-name "OI BOM BALLOON - CENTER"
				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI-BOM-BALLOON - CENTER.mi"))

;;(docu-load-bom-FLAG-layout :ui-name "OI BOM HEX BALLOON"
;;				   :file (concatenate 'string OICUSTDIR "/bom_sketches/OI-BOM-HEX-BALLOON.MI"))

				   
(DOCU::DOCU-SET-CURRENT-BOM-ATTACH-MODE  "UPPER_RIGHT")
(DOCU::DOCU-SET-CURRENT-BOM-GROWTH-DIR  :GROW-DOWNWARD)

(docu::docu-set-current-bom-flag-layout "OI BOM BALLOON")
(docu::docu-set-current-bom-head-layout "O-I ASSY BOM")
(docu::docu-set-current-bom-comp-layout "O-I ASSY BOM")
(docu::docu-set-current-bom-sketch-layout "O-I ASSY BOM")
Creo Element\Direct Modeling 20.6.0.0.0
Top Tags