DBWIsStandardPart

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > CADSystem >

DBWIsStandardPart

Description

Returns if a part is a standard part, according to options setting.

Syntax

Function DBWIsStandardPart(docUid)

Parameter

docUid

the document unique id

Return Values

The function assumes value of:

1

if the current part is a standard part

0

otherwise

Example

doc_uid = 946
if DBWIsStandardPart(doc_uid) then
 msgbox "this is a standard part"
else
 msgbox "this is a common part"
end if