Package autodesk_toxik :: Module graph :: Class Value
[frames] | no frames]

Class Value

 object --+        
          |        
Boost.Python.instance --+    
              |    
    GraphObject --+
                  |
                 Value

Value associated with a node.

Nodes have a list of fixed values associated with them. New values can be added and removed. Like sockets, values cannot exist independently from of an owner node.

Instance Methods
str
getName(...)
Returns: The value name.
Node
getNode(...)
Returns: The node to which this value belongs.
ValueType
getType(...)
Returns: The value type.
type
getValue(...)
Returns: The value's value.
 
reset(...)
Reset the value's value to its default value.
 
setValue(...)
Set the value's value.

Inherited from GraphObject: __cmp__, __init__, __reduce__, getGraph, getId

Inherited from Boost.Python.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

getName(...)

 
Returns: str
The value name.

getNode(...)

 
Returns: Node
The node to which this value belongs.

getType(...)

 
Returns: ValueType
The value type.

getValue(...)

 
Returns: type
The value's value. The return type depends on the data type of the value.

setValue(...)

 

Set the value's value. The type of the value argument depends on the data type of the value.

Parameters:
  • value (type)