Author Topic: Duplicate proxies to mesh via Maxscript  (Read 4513 times)

2016-05-31, 03:08:13

GabaCGStudio

  • Guest
is a way to duplicate proxies to mesh via Maxscript?

2016-05-31, 05:17:00
Reply #1

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
hi GabaCGStudio, is this what you mean?
Code: [Select]
mycrnproxy=$crp_Box002
converttomesh (instance mycrnproxy)

2016-05-31, 05:46:22
Reply #2

GabaCGStudio

  • Guest
hi GabaCGStudio, is this what you mean?
Code: [Select]
mycrnproxy=$crp_Box002
converttomesh (instance mycrnproxy)

your method is wrong !!

i mean this is:

2016-05-31, 07:08:24
Reply #3

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
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:

Code: [Select]
for crnproxy in selection do converttomesh (instance crnproxy)

2016-05-31, 14:13:26
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
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
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-05-31, 14:27:57
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
added, will be in new daily build: CProxy.ProxyFp.duplicateToMesh $
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-06-01, 03:31:53
Reply #6

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
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. :)

2016-06-01, 11:01:22
Reply #7

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
already released into public dailies ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)