Simple Parameter List

If you don’t add a layout section to your SPDL file Softimage will determine its own layout, which is usually a simple parameter list which you could also produce by simply listing the parameters under the Layout section. However, explicitly specifying the list of parameters allows you to:

• change the order of parameters

• hide parameters (by not including them in the list)

The basic syntax is as follows:

Layout "Default"
{
   <parameter_name1>;
   <parameter_name2>;
   ...
   <parameter_nameN>;
}

 

In addition, parameter lists can be wrapped in other controls (such as Rows, Groups and Tabs) to fine-tune their appearance.

Example: Simple Parameter List with Hidden Control

In this example three parameters (thickness, edgecolor, and incolor) are defined but only thickness and incolor are visible because they were explicitly added to the Layout section

 

These are the relevant sections from the SPDL file that produced this page:

PropertySet "simplelist_params"
{
   Parameter "out" output
   {
       ...
   }
   Parameter "thickness" input
   {
       ...
   }
   Parameter "edgecolor" input
   {
       ...
   }
   Parameter "incolor" input
   {
       ...
   }
}
Defaults
{
   thickness
   {
       Name = "thickness";
       Description = "Thickness of the edges.";
   }
   edgecolor
   {
       Name = "edgecolor";
       Description = "Color to use for the edges";
       UIType = "rgba",4;
   }
   incolor
   {
       Name = "incolor";
       Description = "Color to use for the interior";
       UIType = "rgba",4;
   }
}

Layout "Default"
{
   thickness;
   # notice how the edgecolor control does not appear 
   # on the property page because it is not in this list
   incolor;
}


Autodesk Softimage v7.5