Set this control's document as the main document for the application. This should be called
once at the beginning of the application. This DocumentControl should last for the lifetime
of the application and be the last DocumentControl to be disposed when the application terminates.
Namespace: Autodesk.Navisworks.Api.Controls
Assembly: Autodesk.Navisworks.Controls (in Autodesk.Navisworks.Controls.dll)
Syntax
| Visual Basic |
|---|
Public Sub SetAsMainDocument |
| C# |
|---|
public void SetAsMainDocument() |
| Visual C++ |
|---|
public:
void SetAsMainDocument() |
Exceptions
See Also