Announcement

Collapse
No announcement yet.

Help undertanding Vray MAXScript.

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

  • Help undertanding Vray MAXScript.

    Hi. I don´t know if this is the correct place to make this question.

    I´m trying to learn some basic scripting and I wonder if there is a full list of MAXScript parameters for the VrayLight (). I want to create VrayLight and automatically assign a texture for it. I don't have any experience using MAXScript so maybe this is a really basic question, but can´t find a complete list of parameters anywhere.
    I hope someone can help me.

    Thanks in advantage.
    Adán Martín
    My Spanish tutorial channel: https://www.youtube.com/adanmq
    Instagram: https://www.instagram.com/3dcollective/

  • #2
    If your light is called "light1"
    Then you can get it's properties with this:

    Code:
    [COLOR=#000000]showproperties $light1
    [/COLOR]
    Code:
    [COLOR=#000000]$light1.on = false
    
    
    This will give you a list of things for that light. You can then switch the light off for example with this:
    
    


    [/COLOR]
    Last edited by Morne; 25-02-2016, 06:49 AM.
    Kind Regards,
    Morne

    Comment


    • #3
      You can print every accessible parameter via listener for any object by doing "show $" ($ means selected object)

      Then as morne said just do $.parameter = state

      Comment


      • #4
        Thanks a lot i will keep learning
        My Spanish tutorial channel: https://www.youtube.com/adanmq
        Instagram: https://www.instagram.com/3dcollective/

        Comment

        Working...
        X