Merry Christmas. I need to write a macro that traverses a drawing and manipulates the layer that objects are on in certain circumstances. I was hoping to be able to iterate through all the objects on each sheet and view, identify what they are, and do something based on some rules.
It looks to me like I can't "iterate through all the objects" using a simple loop. Instead, I will need a separate loop for each type of object. In other works, I can't use a function like "GetEverything", but instead need to have separate Gets for each object type such as GetAnnotations, GetSketch, GetTableAnnotations, etc.
Am I on track here?
Thanks for your advice!
Iterating through every drawing object?
Iterating through every drawing object?
Yes, you're on track. You need to get each type of thing specifically as you've found.
Go to full postRe: Iterating through every drawing object?
Yes, you're on track. You need to get each type of thing specifically as you've found.