How to multi-select elements in nested links (link attachments) ?

How to multi-select elements in nested links (link attachments) ?

karim_mostafaVM84V
Participant Participant
108 Views
0 Replies
Message 1 of 1

How to multi-select elements in nested links (link attachments) ?

karim_mostafaVM84V
Participant
Participant

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.LinkedElement

 works 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

Web: www.ata-architects.com  

 

 

 

0 Likes
109 Views
0 Replies
Replies (0)