Message 1 of 1
Best Practice to Match An item name with a number

Not applicable
10-16-2007
04:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What's the best way to match an item name with item number.
From the civil perspective you have 20 alignments defined in a dwg and you can pick one and get the name of the alignment. But you need to set the alignment object current by item number.
Obviously iterating through them one by one can be done but it's time consuming especially if you do it repeatedly.
What would be the best way to speed this up. Iterate through the drawing once and add them to an array ad Db that they can be looked up from more quickly?
Thanks in advance.
From the civil perspective you have 20 alignments defined in a dwg and you can pick one and get the name of the alignment. But you need to set the alignment object current by item number.
Obviously iterating through them one by one can be done but it's time consuming especially if you do it repeatedly.
What would be the best way to speed this up. Iterate through the drawing once and add them to an array ad Db that they can be looked up from more quickly?
Thanks in advance.