Copying multiple meshes at once
I'm trying to copy and rotate all meshes that are in a certain layer. I already got the function to select everything in the layer but now I want to copy and rotate them. Can someone help me on how to get this working? This is what I currently have:
fn selectObjectsInLayer layer_name =
(
local nodes
(LayerManager.getLayerFromName layer_name).nodes &nodes
select nodes
)
fn RotateParts building =
(
selectObjectsInLayer "GeneratedParts"
a = instance $
rotate a (angleaxis 90 [0,0,1])
)
Comments
.
Tools and Scripts for Autodesk 3dsMax