.NET Framework Class Library
Document.GetDocIdFromDrawing Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Document Class > Document Methods >

.NET Framework Class Library
Document.GetDocIdFromDrawing Method

Returns all the document ids contained into a drawing

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function GetDocIdFromDrawing ( _

 drawingUid As String, _
 ByRef part_Asm_Uid As String, _
 ByRef number_of_childs As Integer, _
 ByRef childsIdArray As Object _
As String

C#

public string GetDocIdFromDrawing(

 string drawingUid,
 ref string part_Asm_Uid,
 ref int number_of_childs,
 ref Object childsIdArray
)

Visual C++

public:

StringGetDocIdFromDrawing(
 StringdrawingUid,
 String^% part_Asm_Uid,
 intnumber_of_childs,
 Object^% childsIdArray
)

JavaScript

function getDocIdFromDrawing(drawingUidpart_Asm_Uidnumber_of_childschildsIdArray);

Parameters

drawingUid

Type: System.String
drawing unique id

part_Asm_Uid

Type: System.String
Output. The unique id of the part/assembly; in case of more than one it contains the last one.

number_of_childs

Type: System.Int32
Output. The number of children found

childsIdArray

Type: System.Object
Ouput. The array containing ids of children found

Return Value

The function assumes the value of the last (if more than one) part/assembly id found or empty string if no child exist.

Remarks

See Also

Document Class

Document Members

MwPDMApi Namespace