@Paolo_Acampora wrote:
Hello everybody, I am new to Rhino and to this board, but you guys have already helped a lot with my scripts in the latest days
I am using python to write a render submission tool for Rhino-vRay, so I need to harvest the most settings I can. The big issue seems to be the frame range: I can get the parameter if I use
frames = clr.Reference[System.Object]() VRay.GetSettingsParameterString("/SettingsOutput", "frames", "list", frames)
but all the frame numbers are merged together: frames from 1 to 5 becomes 12345
I cannot find any information that would help me to untangle this digits, and it's even worse when I try to set the value (the render manager will have to change the framerange)
Anyone knows of a way to get a clean list from the vray properties? A possible workaround would be using the SaveVisopt() function and export an xml file, get my informations from there, load a new xml file with LoadVisopt() when it's time to render.
Thanks a lot!
Paolo
Posts: 9
Participants: 3