SIAddParameterEntryToOverride
 
 
 

SIAddParameterEntryToOverride

Introduced

v1.0

Description

Adds a parameter entry to an Override property.

Scripting Syntax

SIAddParameterEntryToOverride( InputObj, InputObjs, [Value], [Path] );

Parameters

Parameter Type Description
InputObj String Override property to add an entry to
InputObjs String List of properties and parameters to add to the Override
Value String Name of the override entry.
Path String Relative path to the parameter to overwrite with this entry

Default Value: "" (current directory)

Examples

VBScript Example

' The following uses SIAddConnectionEntryToOverride to add a connection entry
' to an override property.
NewScene , false
CreatePrim "Sphere", "MeshSurface"
CreatePrim "Grid", "MeshSurface"
ApplyShader "$XSI_DSPRESETS\Shaders\Material\Lambert.Preset", , , , siLetLocalMaterialsOverlap
DeselectAll
SelectObj "sphere,grid", , True
CreateGroup
DeselectAll
SelectObj "Group"
AddProp "Override"
SIAddConnectionEntryToOverride "Group.Override", "sphere.Scene_Material.Phong.diffuse", "Diffuse", "material.surface.out.diffuse"
SIApplyShaderToCnxPoint "Cell", "Group.Override.material-surface-out-diffuse"

See Also

AddProp