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

Best method for iterating a type from modelspace

139 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,178
Registered: ‎07-22-2003
Message 2 of 2 (120 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community