Selection, Sorting and Highlighting Elements in the selected order using PickObjects()

Selection, Sorting and Highlighting Elements in the selected order using PickObjects()

roshan.kerketta
Explorer Explorer
465 Views
3 Replies
Message 1 of 4

Selection, Sorting and Highlighting Elements in the selected order using PickObjects()

roshan.kerketta
Explorer
Explorer

Is there a method Revit API where I can select elements in order, highlighting the elements selection.

Please note, Selection.PickObjects() does the selection & highlighting but does not save the elements in the order of Selection.

0 Likes
466 Views
3 Replies
Replies (3)
Message 2 of 4

RPTHOMAS108
Mentor
Mentor

I don't think so other than using PickObject repeatedly in while loop etc.

0 Likes
Message 3 of 4

roshan.kerketta
Explorer
Explorer

https://forum.dynamobim.com/t/node-for-picking-elements-in-order-with-revit-ui/66508/11

 

This post actually helps, it overrides the color of the selection and helps users to identify their selection😀

0 Likes
Message 4 of 4

lmolina6V6K7
Contributor
Contributor

Any solutions on having PickObjects to actually follow the user selection sequencial order?

Looks like the list is automatically sorted out alphabetically by default, no matter the user selection order.

0 Likes