|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > CADSystem > IsStandardPart |
Checks if a document follows the rules declared in the General -> Standard Parts options section
call DBWShell("IsStandardPart UniqueID")
UniqueID |
unique id of the document |
@IS_STANDARD_PART |
0: it is not a standard part |
DBWShell("IsStandardPart 12434")
isStandardPart = DBWResult("@IS_STANDARD_PART")
if isStandardPart="1" then
DBWMsgBox "12434 is a standard part"
Else
DBWMsgBox "12434 is not a standard part"
End if