Is there any way via Maxscript or commandline to query if an interface licence is available?
I have written a tool that sets up the needed Vray settings before submitting to the farm. The problem is that if we run out of licenses because too many people are using it locally, the settings aren't set, and nothing gets rendered because we are saving out of the Vray frame buffer to make sure we get a cryptomat. What I would like to be able to do is query whether a license is available, and if so, then make the changes and submit, and if not, tell them to try again. I tried a work around by making the changes, they querying to see if the save out of frame buffer is turned on, and if so, sending it to the farm, and if not, telling them to try again. Stuff is still getting sent to the farm that isn't saving out nor having the correct changes, yet nobody is getting the errors. Max seems to be giving me a false positive on my query.
Any advice?
I have written a tool that sets up the needed Vray settings before submitting to the farm. The problem is that if we run out of licenses because too many people are using it locally, the settings aren't set, and nothing gets rendered because we are saving out of the Vray frame buffer to make sure we get a cryptomat. What I would like to be able to do is query whether a license is available, and if so, then make the changes and submit, and if not, tell them to try again. I tried a work around by making the changes, they querying to see if the save out of frame buffer is turned on, and if so, sending it to the farm, and if not, telling them to try again. Stuff is still getting sent to the farm that isn't saving out nor having the correct changes, yet nobody is getting the errors. Max seems to be giving me a false positive on my query.
Any advice?
Comment