Announcement

Collapse
No announcement yet.

Export .vrscene from Maya via MEL or Python?

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

  • Export .vrscene from Maya via MEL or Python?

    Is it possible to export the .vrscene file using a certain export command?

    Just like you're able to return the revision build number with MEL code vray build or Python code maya.mel('vray build'), I'm thinking something along the lines of:
    Code:
    vray export "c:/export/hello.vrscene'
    By the way, I keep asking a lot of these questions regarding what vray commands there are... isn't there a API/dictionary somewhere?
    Best Regards,
    Fredrik

  • #2
    I don't think a special command is needed. You can make a 3 line script to turn off your rendering, turn on vrscene export and render (with vrend).
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Yeah that's what I'm doing at the moment. Just wanted to check if this was the preferred method.

      By the way, I had to google up 'vrend'. Is there some kind of documentation somewhere which explains which arguments vrend might have?

      Thanks.
      Best Regards,
      Fredrik

      Comment


      • #4
        It's probably better since such command will not do something that you can't even in more obvious way. We will make a note to add documentation for vrend. Here is another thread how to export vrscene without starting Maya in GUI mode

        http://www.chaosgroup.com/forums/vbu...ighlight=vrend
        V-Ray/PhoenixFD for Maya developer

        Comment

        Working...
        X