Provides access to the Navisworks COM API from the Navisworks .Net API together with support
for interop between the two.
Namespace: Autodesk.Navisworks.Api.ComApi
Assembly: Autodesk.Navisworks.ComApi (in Autodesk.Navisworks.ComApi.dll)
Syntax
| Visual Basic |
|---|
Public NotInheritable Class ComApiBridge |
| C# |
|---|
public sealed class ComApiBridge |
| Visual C++ |
|---|
public ref class ComApiBridge sealed |
Remarks
Examples
CopyUsing ComApiBridge
ComApi.InwOpState10 state;
state = ComApiBridge.ComApiBridge.State;
foreach (ComApi.InwOaPath path in state.CurrentSelection.Paths())
{
ComApi.InwOaNode node;
node = path.Nodes().Last() as ComApi.InwOaNode;
MessageBox.Show(Autodesk.Navisworks.Api.Application.Gui.MainWindow, "UserName=" + node.UserName);
}
Inheritance Hierarchy
See Also