Message 1 of 3

Not applicable
12-02-2017
07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI,
I am writing a code for hilight all rebars with rebar number that coincide with a texbox in a form.
I am thinking to create a ilist and add the rebar with this line:
Dim ListSel As IList(Of ElementId) = Nothing
when i find a rebar with the correct number i add it to the list:
ListSel.Add(id_Pos)
where id_pos is a variable as elementid
But I receive an exception on this point.
When I crete the ilist, can I hilight all the objects in the list?
Solved! Go to Solution.