Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: GabaCGStudio on 2016-05-31, 03:08:13
-
is a way to duplicate proxies to mesh via Maxscript?
-
hi GabaCGStudio, is this what you mean?
mycrnproxy=$crp_Box002
converttomesh (instance mycrnproxy)
-
hi GabaCGStudio, is this what you mean?
mycrnproxy=$crp_Box002
converttomesh (instance mycrnproxy)
your method is wrong !!
i mean this is:
(https://i.imgsafe.org/d08a20f8f0.jpg)
-
imho actually the codes does the same that "duplicate to mesh button", only the variable choose the object named $crp_Box002 which is coronaproxy object to convert.
you can change variable mycrnproxy to selected object(s) like this:
for crnproxy in selection do converttomesh (instance crnproxy)
-
it probably doesnt do the same - converttomesh will convert the current viewport representation. You need first to set the viewport representation to mesh and then do the convert for this to work. The Corona function for duplicating to mesh is currently not exported to maxscript, but I will do it
-
added, will be in new daily build: CProxy.ProxyFp.duplicateToMesh $
-
it probably doesnt do the same - converttomesh will convert the current viewport representation. You need first to set the viewport representation to mesh and then do the convert for this to work. The Corona function for duplicating to mesh is currently not exported to maxscript, but I will do it
ah I'm sorry I forgot the current viewport representation. the coronaproxy need to use full mesh viewport display first before converttomesh.
added, will be in new daily build: CProxy.ProxyFp.duplicateToMesh $
great thanx. :)
-
already released into public dailies ;)