Announcement

Collapse
No announcement yet.

Emergency - Vray Script Error

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

  • Emergency - Vray Script Error

    Hello friends !

    We wanted to get the REVIT Materials to VrayMaterials.
    For that reason, we changed some minor parameters - the script worked fine until we installed the new realease.

    Now we get all the time this error:


    I've uploaded the script here;
    http://www.bernhardrieder.com/ask/vrayutils.ms

    Would be great if someone knows the bug.
    Or maybe there is already a script that works with the scene converter and Revit.

    Thx a lot,
    bernhard
    Last edited by bernhard; 20-03-2008, 02:14 PM.
    www.bernhardrieder.com
    rieder.bernhard@gmail.com

  • #2
    I remember there was the same error in another place; I have to check how it was fixed. The reason was that something changed for MaxScript between 3ds Max versions...

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

    Comment


    • #3
      ok

      thx vlado, appreciate your hard work...

      bernhard
      www.bernhardrieder.com
      rieder.bernhard@gmail.com

      Comment


      • #4
        I have also had this error recently and had to change all the materials by hand...
        If there is a fix we also appreciate your hard work vlado!

        Comment


        • #5
          So in the MaxScript, where is says
          Code:
          	if (r.texmap_diffuse) then (
          change it to
          Code:
          	if (r.texmap_diffuse!=undefined) then (
          and it will be fine.

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

          Comment


          • #6
            thanks very much.

            Comment


            • #7
              uuaaahh

              Hello !

              vlado, I am sorry, but I got another error:



              would be great if you can help ,
              bernhard
              www.bernhardrieder.com
              rieder.bernhard@gmail.com

              Comment


              • #8
                Same thing, check the if-statement before the colored line and change it accordingly.

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

                Comment


                • #9
                  well..

                  hmm, ok, there is no if-statement for the reflection, in my script.
                  anyway, I could fix it.

                  thx vlado,
                  bernhard
                  www.bernhardrieder.com
                  rieder.bernhard@gmail.com

                  Comment


                  • #10
                    grrr...

                    Hello,

                    I switched today to Max2008 and guess what.... the script doesn't work anymore...
                    here is the error....


                    What do I need to change ?

                    thx for help,
                    bernhard


                    ps: the script I am using is here:
                    http://www.bernhardrieder.com/blog/vrayutils.ms
                    www.bernhardrieder.com
                    rieder.bernhard@gmail.com

                    Comment


                    • #11
                      uuahhh

                      sorry sorry folks, my fault, its' fixed, my script works, I just forgot to overwrite the existing one....
                      www.bernhardrieder.com
                      rieder.bernhard@gmail.com

                      Comment


                      • #12
                        Has anyone had any luck with this script? I have been developing techniques to improve interoperability between Revit and 3dsMAX and if this script worked in the latest releases of 3dsMAX/Vray it would be really useful

                        Comment

                        Working...
                        X