These naming schemes are stored inside hou.ParmTemplate objects and determine the names of hou.Parm objects inside hou.ParmTuple objects.
The number of components in the parm template determines the number of parms inside the parm tuple. If this number is 1, the parm name is the same as the parm tuple name. If the naming scheme is Base1, the number of components may be more than 4. Otherwise, the component may have from 2 components up to the maximum number allowed by the naming scheme.
The following restrictions exist on naming schemes:
-
You cannot use the following naming schemes when editing the parameter interface on a node or a digital asset: MinMax, MaxMin, StartEnd, BeginEnd, XYWH. However, some built-in node types use parameters with these naming schemes, so asking these node types for their parm templates may return ones using these naming schemes.
-
String and toggle parameters only support the Base1 naming scheme.
-
Parameters with the hou.parmLook.Vector look must use the XYZW naming scheme.
-
Parameters with the hou.parmLook.Angle look must use the Base1 naming scheme.
-
Parameters with the hou.parmLook.ColorSquare look must use an RGBA naming scheme.
The example names below are for a parm template named "foo"
:
Values ¶
hou.parmNamingScheme.Base1
"foo1"
, "foo2"
, "foo3"
, …
hou.parmNamingScheme.XYZW
"foox"
, "fooy"
, "fooz"
, "foow"
hou.parmNamingScheme.XYWH
"foox"
, "fooy"
, "foow"
, "fooh"
hou.parmNamingScheme.UVW
"foou"
, "foov"
, "foow"
hou.parmNamingScheme.RGBA
"foor"
, "foog"
, "foob"
, "fooa"
hou.parmNamingScheme.MinMax
"foomin"
, "foomax"
hou.parmNamingScheme.MaxMin
"foomax"
, "foomin"
hou.parmNamingScheme.StartEnd
"foostart"
, "fooend"
hou.parmNamingScheme.BeginEnd
"foobegin"
, "fooend"