Sep 13, 2004 #1 Hmo Electrical Joined Nov 1, 2003 Messages 42 Location BE Hellow, i want to process every entity in an acaddrawing (modelspace and paperspace) How do i program this?
Hellow, i want to process every entity in an acaddrawing (modelspace and paperspace) How do i program this?
Oct 4, 2004 #2 joerd Chemical Joined Sep 27, 2002 Messages 531 Location US 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. Upvote 0 Downvote
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.