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