Hello everyone,
I have a problem with a Rhino Python script which should explode all blocks and delete the blocks.
In Rhino 7 this script part worked very reliably.
all_objects = rs.AllObjects()
for obj_id in all_objects:
if rs.ObjectType(obj_id) == 4096: #this line throws the error
rs.Command('_-ExplodeBlock "{}" _Delete'.format(obj_id))
In Rhino 8 there is always an error “Object does not exist in Object Table”, for details see attached picture.
Many thanks to all of you!
best regards max
4 posts - 3 participants