© 2010 Autodesk
Introduction to the Navisworks 2011 .NET API
Using COM Interop
Accessing Selection Sets
InwOpState10 state = ComApiBridge.State;
InwSelectionSetColl sets = state.SelectionSets();
foreach (InwOpSelectionSet set in sets)
{
   comboBox1.Items.Add(set.name);
}
Converting to .NET API
InwOpSelectionSet set = (InwOpSelectionSet)sets[1];
ModelItemCollection items =
  ComApiBridge.ToModelItemCollection(set.selection); Application.ActiveDocument.CurrentSelection.CopyFrom(items);
Here, we might want to populate a combo box with all the selection sets. So use COM API to access.
Can then still convert a COM selection object to a .NET API selection object using the ComApiBridge.
Note the COM API indexing is 1-based!!