I updated my latest script https://www.scriptspot.com/3ds-max/scripts/easy-turntable
the other day and I need to add some error catching to the section that allows you to pick a Vray Physical Camera.
Rather than just use a try catch, I thought if they are using a Vray camera why not set the renderer at the same time you click on the radio button.
If they don't have Vray installed then just disable the radio buttons and keep the default to a standard target camera. (How do I check this?)
1. Is there a method to call the current renderer as Vray regardless of which version of Vray is installed? ie 1.5, 2.0.03 etc
2. I know enough to be dangerous but not enough to actually think like a programmer yet! so any thoughts on how to best implement these ideas would be appreciated.
3. I had the cameras in separate functions originally, and just called them the via the radio buttons' case statement is this the preferred way?
4. The code can be looked at via the above link.
Thanks Luke
Edit: I have now solved many issues including saving the tangents prior to changing them, all I really need now is how to tell if Vray (any version)is installed and the best way to disable the radio buttons if it isn't installed. and if function would be better practice
Anubis · 2011-08-29
br0t · 2011-08-29