|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > CADSystem > GetActiveDocUniqueID |
Gets the unique ID (if the doc is registered in the PDM database) of the currently open CAD model.
call DBWShell("GetActiveDocUniqueID")
@DOCUMENT_UNIQUE_ID |
unique id of the open document |
...
DBWShell("GetActiveDocUniqueId")
docUID = DBWResult("@DOCUMENT_UNIQUE_ID")
DBWShell("EditRecord " & docUID)
...