To String
Converts the input to a string representation. Array inputs are converted to a single output string.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Value (inputs:value) |
|
The value to be converted to a string. Very large or very small numeric values may be converted to use an exponential representation of the value (e.g. 1.234e+06). Arrays of numeric values are converted using a list syntax (e.g. “[1.5, -0.03]”). A uchar value converts to a string of a single unquoted character. An array of uchar values converts to an unquoted string. Zero values (i.e. null characters) in the array may result in undefined behavior and should be avoided. A token is converted to its unquoted string representation. An array of tokens are converted to Python list syntax with each token enclosed in double quotes (e.g. [“first”, “second”]). |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
String (outputs:converted) |
|
The input value represented as a string. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ToString |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
To String |
Categories |
function |
Generated Class Name |
OgnToStringDatabase |
Python Module |
omni.graph.nodes |