Announcement

Collapse
No announcement yet.

How can I get vray parameter in VRay5?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I get vray parameter in VRay5?

    Hi ,
    In VRay4, I used VRay.get_render_param("/SettingsOutput", "img_height") and VRay::LiveScene.active.get_plugin_json("/SettingsOutput") to get VRay parameter, but I can't find these api in VRay5.
    Which api can I use instead?

  • #2
    The methods you refer to were never an API per se. They were internal methods that people were hooking into. You may find that some of them still work but your should not rely on them. We have an official API now that we will support going forward. You can find it in the menu.

    V-Ray > Help > API Documentation

    Here is how you would access a plugin parameter:
    Code:
    VRay::Context.active.scene["/SettingsOptions"][:mtl_override_color]

    Comment

    Working...
    X