Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Maxscript - Boolean
show user profile  donvella
Hey guys, just finishing a quick script I need to run however I'm stuck on one last piece - any help would be greatly appreciated

I want to edit the Corona Conversion script so I can have it override proxy if it already exists in that location, but I don't know how to enable Boolean function.
http://www.racoon-artworks.de/CoronaConverter/mxsDocumentation.html

Proxy Converter:
< CoronaProxyConverter >.convertProxies() [location:< string >] [overwrite:< Boolean > ]

Currently I have:
CoronaProxyConverter.convertProxies() true

This works, but I want to add overwrite so it does not ask if it already exists - just overwrites the proxy

thanks




read 146 times
3/20/2017 5:01:42 AM (last edit: 3/20/2017 5:03:12 AM)
show user profile  donvella
small success, no cigar...

I want to supress this dialogue...
---------------------------
Corona Proxy Export
---------------------------
One or more CoronaProxy files do already exist on Disk, do you want to overwrite them?

(If you press "No", the existing files will be used for the generated Proxies)
---------------------------
Yes No
---------------------------

This is what the maxscript tells me...
CoronaProxyConverter.convertProxies() "overwrite:true"
Generated CoronaProxy: X:\Proxies\AG11_4.cgeo
(interval 0f 100f)
"overwrite:true"

It looks all blue and no errors woo! but still get the dialogue box that I have to confirm every time :S






read 130 times
3/20/2017 7:03:52 AM (last edit: 3/20/2017 7:03:52 AM)
show user profile  donvella
Does anyone know where I can find the script function/parameter cheat sheet? Im happy to brute force my way through but I dont see how people find the information they are looking for if you cant access it through the MacroRecorder?

I want to know all Corona commands and tinker around with them in maxscript however I cannot find anything - how do people making plugins/additions do this without the source?

This is all I could find
https://coronarenderer.freshdesk.com/support/solutions/articles/5000501970-corona-maxscript-list-of-functions







read 66 times
3/27/2017 8:15:34 AM (last edit: 3/27/2017 8:15:34 AM)
show user profile  Garp
> I dont see how people find the information they are looking for if you cant access it through the MacroRecorder?

I'm not sure I understand what you're asking. Are you looking for the inspector functions (showProperties, showInterface, etc)?




read 63 times
3/27/2017 8:45:09 AM (last edit: 3/27/2017 8:45:09 AM)
show user profile  donvella
Im basically looking for the documentation reference/wiki where it lists all corona specific commands such as;

CoronaRenderer.CoronaFp.showVfb true

this was on the website I linked above and works - I can load that function from within the render settings. But... what about things such in VFB such as tonemapping/lightmix? I want to know how to write a small script to load a tonemapping settings .conf or lightmix .conf file - but there is less than 20 functions listed - surely there is more?




read 56 times
3/27/2017 1:42:12 PM (last edit: 3/27/2017 1:42:12 PM)
show user profile  Garp
Sorry I can't help since I don't know a thing about corona.
Don't they provide a full documentation for their mxs api? Or a forum where the devs show up?




read 47 times
3/27/2017 4:16:56 PM (last edit: 3/27/2017 4:16:56 PM)
show user profile  donvella
thanks Garp, I appreciate your time.

https://corona-renderer.com/forum/index.php/topic,15441.0.html

This is the thread I have started over at Corona, Im also speaking to John Martini about Vexus (which is why I want the Corona references) and hopefully iron out some things in regards to render management. Any help would be greatly appreciated.







read 32 times
3/27/2017 11:49:39 PM (last edit: 3/27/2017 11:49:39 PM)
show user profile  donvella
On that link above I have pasted the maxscript listener code for my thousand attempts at adding 1 renderelement lol.

I just want to add 1 renderelement, once I understand this i think it will help me read the documentation better

Sorry about sending you to another site - I tried pasting the code in here and it failed on reply :S




read 24 times
3/28/2017 6:02:11 AM (last edit: 3/28/2017 6:58:28 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org