Announcement

Collapse
No announcement yet.

Creating Vraysun via maxscript

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

  • Creating Vraysun via maxscript

    I've been trying to create a targetted vraysun through recording the macro when I create a sun manually and then copying that into the listener.

    This code:
    --------
    VRaySun name:"VRaySun01.Target" pos:[18531.1,12800.8,0] isSelectedn enabledn
    --------

    Just create an untargetted vraysun light, with no options or anything to turn on the targetting.

    Any ideas guys?

  • #2
    Code:
    vrs = VRaySun name:"VRaySun01" isSelected:on pos:[0,0,100] target:(vrsTarget = Dummy())
    -- variable vrs is the vraysun, and variable vrsTarget is the sun's target
    Colin Senner

    Comment


    • #3
      Womble? Did you get this.
      Colin Senner

      Comment


      • #4
        That worked great Colin, thanks for that!

        Comment

        Working...
        X