.NET Framework Class Library
Component.AddComponent Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Component Class > Component Methods >

.NET Framework Class Library
Component.AddComponent Method

Adds the currently selected component to the current opened assembly or drawing

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

Syntax

Visual Basic

Public Sub AddComponent ( _

 Optional docUid As String = "" _
)

C#

public void AddComponent(

 string docUid = ""
)

Visual C++

public:

void AddComponent(
 StringdocUid = L""
)

JavaScript

function addComponent(docUid);

Parameters

docUid (Optional)

Type: System.String
Optional. The unique id of the component to add

Remarks

If no unique id is passed, DBWorks browser must be open and the document page selected

See Also

Component Class

Component Members

MwPDMApi Namespace