|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Database > DBWComposedOf |
Returns component documents of a specified one.
Function DBWComposedOf(DocUid, DocType, byref LastDocUid, byref Num_of_doc, byref DocsUidIdArray)
DocUid |
document to search components about |
|---|---|
DocType |
a filter to select only a certain type of document among componing documents |
The function assumes the values of the last (if more than one) document id found.
LastDocUid |
uid of the last componing document found |
|---|---|
Num_of_doc |
number of componing document |
DocsUidIdArray |
array containing componing documents unique ids. |
Sub main()
last_doc_id = DBWComposedOf("246","P",last_doc_uid, num_of_doc, doc_array)
end sub