Skip to content

← programming package

ConstantList

Create a list that can be wired into another node.

This node can take a single string or numeric value (float, int) and convert it into a list. Or, if parse_string is True, it will attempt to convert a string with comma separated values (i.e., "one, two"), into a list and will return an error if unsuccessful (i.e., the string is a malformed list). If parse_string is False, any string value will be converted to a single-item list. Version 1.1.0

Ports/Properties

data

Value to emit.

verbose name
Data
default value
None
port type
DataPort
value type
list (can be None)
data direction
OUT

value

Constant value.

verbose name
Value
default value
[]
port type
Port
value type
object (can be None)

parse_string

Attempt to parse string values into a multi-item list.

verbose name
Parse String
default value
True
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)