vtk_prop

vtk_prop_delete

Usage:         
vtk_prop_delete objectId propName

Description:   
This procedure deletes the given property from the given object. 

Examples:
vtk_prop_delete 2 MY_INTEGER_PROPERTY

Returns:       
An error if the property was not attached to the object.

vtk_prop_get

Usage:         
vtk_prop_get objectId propName

Description:   
This procedure returns the value of the property "propName" of the given object.

Returns:       
The integer or string value of the property, or raises an error if the property is not defined for the object.

vtk_prop_incr_and_get

Usage:         
vtk_prop_incr_and_get objectId propName

Description:   
This procedure increments and returns the value of the property "propName"

Returns:
The integer or string value of the property, or raises an error if the property is not defined for the object.

vtk_prop_list

Usage:         
vtk_prop_list objectId

Description:   
Get the name of all properties attached to the specified object.

Returns:       
A list of names, or an error if the object does not exist.

vtk_prop_set

Usage:         
vtk_prop_set [OPTIONS] objectId propName propValue

Description:   
This procedure sets the value of a property attached to an object. The -auto/-text/-integer options are used to specify the property data type. 
The default behavior (-auto) is to automatically determine the data type by looking at the first character of the specified property value. 
The -asynch option is used to prevent the client from waiting for confirmation from the server, which results in slightly faster execution. 
The default behavior is to wait (-synch). 
The -elements option is used to set the property on all elements of a set, if the specified object ID is that of a set. 
The default behavior is to apply the property to the set itself (-noelements). 
The -field option is used internally by preemption only and directs the specified value into a field on the object instead of a property. 
        
Example:
vtk_prop_set 2 MY_INTEGER_PROPERTY 12
vtk_prop_set -text 2 MY_TEXT_PROPERTY "Hello there"
vtk_prop_set -asynch -text 2 MY_TEXT_PROPERTY "Hello there"
vtk_prop_set -elements -text 2 MY_TEXT_PROPERTY "Hello there"


Returns:       
Nothing