Graphics

 View Only
  • 1.  Scripting Quad Height and/or Width

    Posted 09-02-2013 03:14
    Good evening,

    I see there are height and width properties for quads (and other objects). What is the syntax in a script to control these?

    Thanks!

    Brian


  • 2.  RE: Scripting Quad Height and/or Width

    Posted 09-02-2013 17:42
    Hey Brian,

    This is pretty straight forward just make sure you dimension your objects as specific object types.

    so if you wanted to affect the height of your quad it would be:

    Dim quad as xpQuadObject

    Then retrieve it

    Self/Scene GetObjectByName("name", quad)

    quad.height = 000

    same for width and depth

    Andrew

    #XPression