Context.SetAttribute
 
 
 

Context.SetAttribute operator

Introduced

v4.0

Description

Sets an attribute on the context. This is a way to pass some additional information or instructions to Softimage regarding the outcome of the callback. Supported attributes, if any, are documented along with the callbacks of each PluginItem. If the attribute does not exist it is added, otherwise the existing value is replaced by the new value.

C# Syntax

Context.SetAttribute( String in_AttributeName, Object in_AttributeValue );

Scripting Syntax

Context.SetAttribute( AttributeName, AttributeValue );

Parameters

Parameter Type Description
AttributeName String The attribute to set.
AttributeValue Variant New value for the attribute.

See Also

Context.Source