Highligt elements in Revit links

Highligt elements in Revit links

daniel
Enthusiast Enthusiast
366 Views
1 Reply
Message 1 of 2

Highligt elements in Revit links

daniel
Enthusiast
Enthusiast

In a Revit Document, I can Highligth elments by adding them to the "UIDocument.Selection". 

 

Is there a way of doing the same thing with elements in a Revit Link. 

 

I have the ElementId of the elements which I want to highligt, but can't get them highligthet.. 

 

I have seen that a user can get promted to selecte elements, but thats not what I want. 

I have e dialog which contains a list of walls from a link. When a user clicks a wall in this list, I want it to be highligthet so that it is easy to see which

wall it is. 

 

Daniel

 

Skjermbilde.PNG

0 Likes
367 Views
1 Reply
Reply (1)
Message 2 of 2

Revitalizer
Advisor
Advisor

Dear Daniel,

 

as a workaround, you could create a temporary DirectShape Element in your main Document, as a representative for the linked Element.

This DirectShape Element could be shaped with the geometry which has your Element in the linked Document, respecting RevitLinkInstance's placing transformation in main Document.

 

Once created, you can put it into the UI selection and zoom to it.

 

Don't forget to delete it after using it.

 

 

Best regards,

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes