Best method for iterating a type from modelspace

Best method for iterating a type from modelspace

Anonymous
Not applicable
451 Views
1 Reply
Message 1 of 2

Best method for iterating a type from modelspace

Anonymous
Not applicable

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

0 Likes
452 Views
1 Reply
Reply (1)
Message 2 of 2

Jeff_M
Consultant
Consultant

THere was a discussion about this on theSwamp:

http://www.theswamp.org/index.php?topic=21930.msg264791#msg264791

Jeff_M, also a frequent Swamper
EESignature
0 Likes