Message 1 of 2
How to select modelItem from Quantification using Navisworks API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
Сould you tell me please how to select modelItem from Quantification using Navisworks API?
I can select a row in the table using this information from api:
void SelectElement(long elId)
{
TakeoffSelection takeoffSelection = Autodesk.Navisworks.Api.Application.ActiveDocument.GetTakeoff().CurrentSelection;
takeoffSelection.BeginEdit();
takeoffSelection.Objects.Clear();
takeoffSelection.Objects.Add(elId);
takeoffSelection.EndEdit();
}
But element in model is not select
Thanks for any answers:)