Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
When I create a new SelectionSet from a ModelItemCollection, I cannot access to properties :
Document doc = Autodesk.Navisworks.Api.Application.ActiveDocument;
ModelItemCollection items = ...
SelectionSet selectionSet = new SelectionSet(items);
ModelItemCollection itemsFromSet = selectionSet.GetSelectedItems(doc);
itemsFromSet .First().DisplayName; // ok
itemsFromSet .First().PropertyCategories; // exception here
Is there something wrong here ? Thanks
Solved! Go to Solution.