Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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?
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")