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

Best method for iterating a type from modelspace

138 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: 3,966
Registered: ‎07-22-2003
Message 2 of 2 (119 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

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community