THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/07/2010 at 08:21, xxxxxxxx wrote:
Cinema 4D Version:
Is it possible to get a list of all render engines installed on a system? Specifically, I want to know if Vray is installed. I can see if it's the selected render engine by getting the active render data, and I can make it the active engine by setting the render data. What I can't see how to do is determine if it's present on the user's machine but not currently selected.
If it isn't installed, and I set the render engine to Vray, there's no return value to give an error; apparently the engine is set, but that's not much help because it obviously won't work :-)
Is there any way of finding this out?
On 08/07/2010 at 10:05, xxxxxxxx wrote:
Ask Renato for the plugin id of the vray bridge. VRay cannot be used without it, so if the bridge is available the engine will most probably also and the other way round.
On 08/07/2010 at 12:31, xxxxxxxx wrote:
Aha, thank you. I was going about it the wrong way. I already had the bridge ID from the usual trick of dragging its name from the render settings into the console and calling GetType(). What I was doing was iterating through the videoposts (the bridge is a VP) and looking for it there - but of course it wasn't, unless I first selected Vray as the render engine.
Thanks to your post I remembered FindPlugin() and that works just fine.