Hi Mitch - I think I made something for this - let me look…
Probably IDef.GetObjects()…
hum - looks like I used rs functions in my thing - does this do what you want? I have not had coffee yet.
MoveBlockObjectstoLayer.py (1003 Bytes)
But yeah - it uses iDef.GetObjects() in the rs function.
-Pascal