Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

every object in acaddrawing

Status
Not open for further replies.

Hmo

Electrical
Nov 1, 2003
42
Hellow,

i want to process every entity in an acaddrawing (modelspace and paperspace)

How do i program this?
 
Replies continue below

Recommended for you

I think you can do something like:

Code:
Dim myItem As AcadObject
For Each myItem In ActiveDocument.ModelSpace
'your code here
Next myItem

You probably can leave out the .ModelSpace to process all items.


Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor