Return Bar index in Rebar set

Return Bar index in Rebar set

nyhyuqdhyrmmivhncg
Contributor Contributor
256 Views
2 Replies
Message 1 of 3

Return Bar index in Rebar set

nyhyuqdhyrmmivhncg
Contributor
Contributor

Hello guys,

do you know how to return index of selected bar in rebar set?

nyhyuqdhyrmmivhncg_0-1657961068133.png

I'm selecting the rebar using ISelectionFilter so now I know the quantity of bars in the set but I don't know how to return the bar index using

uidoc.Selection.PickObject

 

257 Views
2 Replies
Replies (2)
Message 2 of 3

nyhyuqdhyrmmivhncg
Contributor
Contributor

anyone?

0 Likes
Message 3 of 3

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @nyhyuqdhyrmmivhncg ,

 

Have you tried using the RevitLookup tool?

https://github.com/jeremytammik/RevitLookup 

I would suggest you use the Revit Lookup tool and explore the selected bar in the rebar set.

This will help you to find the way to access the index of the selected bar.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network