AddProxyParam.1.vbs Example

Applies To

AddProxyParam command

Description

This example demonstrates how to create a single proxy parameter (by specifying a single parameter as the master) or multiple proxy parameters with the same prefix (by specifying an entire property set as the master).

Code

set oNull = GetPrim( "Null" )
AddProp "Custom_parameter_list", , , "CustomPSet"
' Specify a specific parameter
AddProxyParam oNull & ".CustomPSet", "Camera_Root.kine.local.posx"
' Add proxy parameters for each parameter of the light.visibility property
AddProxyParam oNull & ".CustomPSet", "light.visibility", "prxy"
' When you inspect the new property set, you can see a flat list of parameters. All
' names except on the first parameter begin with "prxy_". Eg., 'prxy_viewvis'
InspectObj oNull & ".CustomPSet"

Keywords

AddProxyParam


Autodesk Softimage 2011