Announcement

Collapse
No announcement yet.

VFB maxscript access

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

  • VFB maxscript access

    Hello

    I'm currently writing a little script to assist us in submitting rendering, especially by checking several options and so on. Among others, I need to check that VFB region rendering is off, no problem, but apparently this checking always opens the VFB ... it's just annoying, but I'd like to know if it's possible to avoid this useless opening ?

    Thanks in advance for your help !

    Regards.
    Nicolas Caplat
    www.intangibles.fr

  • #2
    Hi,

    It works fine with vrayVFBGetRegionEnabled() in our tests and VFB stays closed.
    Which V-Ray build you are using?
    Tashko Zashev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Hello,

      We use VRay v3.0.0.06. So far, I use:

      vrayVFBSetRegionEnabled false
      vfbControl #trackmouse false


      I don't understand your example, isn't vrayVFBGetRegionEnabled() read-only ?

      Thanks in advance !

      Regards.
      Nicolas Caplat
      www.intangibles.fr

      Comment


      • #4
        Ah I thought that you need to check the option status only. In this case you could use the following code:
        vfbControl #trackmouse false #hide

        VFB will be hidden automatically right after the option is changed to "disabled".
        Tashko Zashev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Ah great, thanks !
          adding #hide actually works for vrayVFBSetRegionEnabled false, but not for vfbControl #trackmouse false ... MXS Listener returns this message "[vfbControl] command #hide is unknown: Unsuccessfull execution".
          Any idea, please ?

          Thanks !
          Nicolas Caplat
          www.intangibles.fr

          Comment


          • #6
            Hi,

            Actually I see now that this option is not added to the 3.x official builds. It is available in the stable nightly builds according to the information that I have.
            Most probably it will be part of the next service pack for V-Ray 3.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              Ok, thks for the information

              Regards.
              Nicolas Caplat
              www.intangibles.fr

              Comment

              Working...
              X