Announcement

Collapse
No announcement yet.

vrmesh import commands

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

  • vrmesh import commands

    Is there some docs. for mel-scripts/python commands for importing vrmesh to Maya ?
    I want to import multiple vrmesh-es by mel/python into Maya.

    thx for reply
    Rasto

  • #2
    Ok, i found it as mel: vrayCreateProxyExisting(name,file,objectPath)

    Comment


    • #3
      Sorry for the late reply; I see you found a solution already. Let us know if there are other questions.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Hi Vlado,

        is there some docs. for this commands ?

        I found another command, but i don't understand second param. vrayProxyFileIsReadable(file,???);
        What this command doing ? Checking if vrmesh file have correct content ? Is it checking only header or reading full content of vrmesh ?

        Best regards,
        Rasto

        Comment


        • #5
          Originally posted by raxto View Post
          is there some docs. for this commands ?
          Nope, these are all internal functions. You can use them, but is at your own risk and they might change in newer versions.


          Originally posted by raxto View Post
          I found another command, but i don't understand second param. vrayProxyFileIsReadable(file,???);
          What this command doing ? Checking if vrmesh file have correct content ? Is it checking only header or reading full content of vrmesh ?
          What is the purpose you want to use this function? The parameter is a name of a textCtrl, which will be filled with same text.
          V-Ray developer

          Comment


          • #6
            What is the purpose you want to use this function?
            I have problems with vrmesh-es in this post.
            I wanted to check if file is correct and readable vrmesh.

            btw. thx for reply.
            Rasto

            Comment


            • #7
              You can use the tool "ply2vrmesh -info <yourfile>" to do some minimal check if the vrmesh file is intact.
              V-Ray developer

              Comment


              • #8
                It's not working for me (this command run out of memory), because i have problem with incorrect meshes from ply2vrmesh.
                Now i am checking with script if vrmesh file is smaller than 20 bits and this type of checking is working.

                Comment

                Working...
                X