|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > BOM > BomRefresh |
Only for drawings, this command refreshes the existing BOM;
It's the API for the toolbar functionality ![]()
call DBWShell("BomRefresh UID CurrentSheetOnly")
uid |
unique id of the drawing to create the BOM into. |
|---|---|
CurrentSheetOnly |
0: updates all sheets defined in the drawing document |
...
DBWShell("GetActiveDocUniqueId")
DocumentUid = DBWResult("@DOCUMENT_UNIQUE_ID")
DBWShell("BomRefresh " & DocumentUid & " 1")
...