@CADProjects wrote:
Hi Guys
I would like a script that automates the creation of blocks.
I have a model with hundreds of 3D solids contained within. Each solid has its own unique name applied to it in the object properties.Is it possible to have a script that makes a block of each individual solid and uses the solids object name as the block name?
I see the workflow going something like this…
1- select all objects to be converted into blocks. this would be all objects at once so i dont have to repeat the selection process for each individual solid
2- the script would then go through and identify each solid I have selected and make an individual block of each solid using the unique object name already applied. The block basepoint would be the model zero point (WCS) and the layer the block would be on can be the same layer the 3D solid is on.
Note the solids are not all modelled on the same layer if that matters. There is about 20 layers containing hundreds of 3D rhino solids.
Any help greatly appreciated.
Posts: 7
Participants: 5