Active Member
6 Posts
0 Kudos
Registered: ‎01-07-2010
Post 1 of 2

Best method for iterating a type from modelspace

145 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*
4,621 Posts
920 Kudos
Registered: ‎07-22-2003
Post 2 of 2

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!