SetAttribute (Context) *

Introduced

4.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.

Scripting Syntax

Context.SetAttribute( AttributeName, AttributeValue )

C# Syntax

Context.SetAttribute( String in_AttributeName, Object in_AttributeValue );

Parameters

Parameter

Type

Description

AttributeName

String

The attribute to set.

AttributeValue

Variant

New value for the attribute.

See Also

Context.Source



Autodesk Softimage v7.5