I have the Id of a element in linked model.I tryed a lot of ways to hightlight it in my host model,but failed.Some like uidoc.Selection.SetElementIds(new List<ElementId> { ele.Id});
But I found Revit can do it in its own "crash detective" tool.
Can anyone tell me how can I do like this .Or give me some other advise to highlight linked model elements.Thank you !
Hi,
You cannot highlight element in linked model as you can open only one doc object once in revit api as current doc is open you cannot highlight element in linked doc.
To see elements in linked model one thing you can do is
1.Get location of linked model element.
2.Apply transform you will get location of linked model element in current document.
3.Zoom specific area of that element you want to see using Zoom and centre rectangle api.
api.
Thanks and regards
-prasanna
Can't find what you're looking for? Ask the community or share your knowledge.