Active Member
Posts: 6
Registered: ‎01-07-2010
Message 1 of 2 (144 Views)

Best method for iterating a type from modelspace

144 Views, 1 Replies
08-16-2012 03:31 PM

Can anyone give me advice about the performance differences between:

1) Using a selction filter to get the objectIDs of a particular type, then iterating them, or

2) Iterating all modelspace objects, checking ObjectID.ObjectClass.Name for the desired type.


Thanks in advance for your insights.

Pete Elliott

*Expert Elite*
Posts: 4,310
Registered: ‎07-22-2003
Message 2 of 2 (125 Views)

Re: Best method for iterating a type from modelspace

08-16-2012 07:15 PM in reply to: elliottpd1

THere was a discussion about this on theSwamp:


Jeff_M, also a frequent Swamper
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.