LogValuesNode

Associated Parameters: DebugPrintNode

Introduced

7.0

UI Location

• Debugging

Description

This is a special type of PassThroughNode which writes the values that pass through this node to the Script Editor history pane so that you can debug your graphs. You can choose to print all values that are passed into the In port or limit the output to a range of elements.

If you have more than one LogValuesNode in your graph, you can specify a special string in the Debug Print Tag parameter to uniquely identify which values are being logged. For example, if you set it to "Turbulize the Gravity" and pass the Turbulize value through the LogValuesNode to set the Gravity Force compound, all logged values from this connection will be bracketed with these messages:

INFO : 4000 - Begin: output for "Turbulize the Gravity" DebugPrintNode:

INFO : 4000 - End: output for "Turbulize the Gravity" DebugPrintNode.

Note: The Out port must be connected as well in order to log and pass the values through.

Parameters

Parameter Name

Scripting Name

Type

Description

Debug Print Tag

debugprinttag

String

Debug print tag

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

in

Type: siICENodeDataValue

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The values to be logged.

log

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to enable logging.

allelements

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to log the values of all elements. False to log only those elements in the specified range.

firstelement

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Index of the first element of the range to log. Only used when All Elements is set to false.

lastelement

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Index of the last element of the range to log. Only used when All Elements is set to false.

Outputs

Port Name

Connection Info

Description

out

Type: siICENodeDataValue

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Outputs the values passed through the In port. This port must be connected for the values to log.

Restrictions

• These types must match: in, out

• These structures must match: in, out

• These contexts must match: in, out

See Also

Debugging ICE Graphs



Autodesk Softimage v7.5