multi proxy convert
hello again
i made proxy -> mesh
this code is well in 1 select proxy
but if i select multi proxie , that code is error
what problem ~~
rre = #()
for o in selection as array do
(
If classof o == VRayProxy then
(
rre = vrayMeshImport o
select rre
$.pivot = $.center.x,$.center.y,$.min.z]
$.pos = [$.pos.x,$.pos.y,0]
$.transform = o.transform
clearSelection()
delete o
)else()
)
Comments
...
This code is for you
You have 4 arguments in this FN
- *nodes - selection of vrProxies
- *pivot - place pivot at center, top or bottom (options:#center, #top,#bottom)
- *deleteProxy - remove existing proxies after conversion (options: on or off)
- *placeOnGrid - place mesh on grid (z=0) or keep position (options: on or off)
bga
there is problem ~~
i test that ~~~
$.transform = o.transform
that is not accepted~~
can you some fix ~