c# - How to enumerate through Autocad Entities without using Autocad.Interop? -


i'd enumerate entities in autocad drawing, not using autocad.interop reference.

with interop pick:

iacadapplication app = (iacadapplication)application.acadapplication; iacaddocument doc = app.activedocument;  foreach (iacadentity ent in doc.modelspace) // or paperspace, or iacadblock 

but object arx references can find tutorials entities using transactions in database, taking objects id. think that's boring stuff slow down works.

that's way it. have either interop code, or fashion of objectid iteration.

here's article dev network: http://adndevblog.typepad.com/autocad/2012/05/whats-the-best-way-to-iterate-through-an-entire-database.html

if going work c#, recommend biting bullet, , moving on use transactions , such, there no way around it.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -