how to make script for clone and align ?
how to make script for making aclone (instanse) of selected object or group and align them to object you select it after starting the script .
Like this script from -Jim Jagger-
JJTools_CreateAlign
(
toolmode.coordsys #local
Box lengthsegs:1 widthsegs:1 heightsegs:1 length:12 width:7 height:4 mapCoords:off pos:[0,0,0] isSelected:on
selectedbox = selection as array
targetbox = pickobject()
selectedbox.rotation = targetbox.rotation
selectedbox.pos = targetbox.transform.position
)
Comments
nothing fancy
to clone you can use
instance()
ormaxOps.CloneNodes()
function.my recent MAXScripts RSS (archive here)