Message 1 of 1
How to multi-select elements in nested links (link attachments) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dears,
hope you have a good day ,
I have a Revit model with nested links. Link A contains Link B, C, D... as attachment.
Main model → Link A → Link B, C, D.... (attachment)→elements I need to select
I tried
Selection.PickObjects with ObjectType.LinkedElementworks fine for elements directly in Link A, but fails to multi-select elements from Link B, C, D.... (the nested attachment).
Single selection with Pick Object works for nested link elements, but multi-selection doesn't.
Code:
IList<Reference> refs = uidoc.Selection.PickObjects(ObjectType.LinkedElement, "Select elements");
Question: Is there a way to enable multi-selection for elements in nested/attached links?
Karim Mostafa
Engineering Department | BIM Developer
Mob:+2 010 9013 9836