UIDocument.Selection.PickObjects

UIDocument.Selection.PickObjects

jeroen.vanvlierden
Enthusiast Enthusiast
301 Views
3 Replies
Message 1 of 4

UIDocument.Selection.PickObjects

jeroen.vanvlierden
Enthusiast
Enthusiast

Hello,

 

I am using the _uiDocument.Selection.PickObjects method to select multiple elements, but I would like to process them in the order that the user selected them. This order, seems to be random when I get the result from the API

Is there a way of getting the selection order?

Accepted solutions (3)
302 Views
3 Replies
Replies (3)
Message 2 of 4

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @jeroen.vanvlierden ,

 

Please take a look at the below link

https://forums.autodesk.com/t5/revit-api-forum/revit-api-selected-element-set-order/td-p/5597203 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

jeroen.vanvlierden
Enthusiast
Enthusiast
Accepted solution

This should work

0 Likes
Message 4 of 4

jeroen.vanvlierden
Enthusiast
Enthusiast
Accepted solution
thanks!