Autodesk Softimage Services & Support

Creating a texture space control on a property page

Issue

You want to add a TextureSpace control to the property page of a custom property.

TextureSpace control

In SPDL, you would do it like this:

Parameter "TextureSpace" input
{
        title = "Texture Space";
        guid = "{076F92D1-D5EA-43b5-A878-AFFAE02FFB23}";
        ui "mapping" = "{B6531F00-412A-11D4-AE63-00A0C96E63E1}";
        type = texturespace;
        value = -1;
        flags  = 1;
        texturable = off;
        animatable = off;
}

but you don't want to use SPDL, you want to use scripting and the PPGLayout.AddItem method.

Solution

You can use the undocumented "Texture Space" control type with AddItem:

var oPPGItem = oLayout.AddItem( "Param", "", "Texture Space" ) ;


Support – Terms of Use
  • Did this page resolve your issue?
  • Translate This Page (Beta)

    Learn More about this translation beta.Page is machine translated. Learn More.

    Was this translation useful?

  • Document Information

    Published date: 2009-Jul-17
    ID: TS13567348

     

    Applies to:
    Autodesk® Softimage® 2014
    Autodesk® Softimage® 2013
    Autodesk® Softimage® 2012
    Autodesk® Softimage® 2011
    Autodesk® Softimage® 2010
    Autodesk® Softimage® 7.5
    Autodesk Softimage Advanced 2010
    Autodesk Softimage Advanced 7.5