Weight Schedule Convert
KJNodes/weights
WeightScheduleConvertConverts different value lists/series to another type.
Example
JSON Example
{
"class_type": "WeightScheduleConvert",
"inputs": {
"input_values": 0,
"output_type": "list",
"invert": false,
"repeat": 1
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
input_values | FLOAT | required | - | 0 |
output_type | ENUM4 options
| required | - | "list" |
invert | BOOLEAN | required | - | false |
repeat | INT | required | min: 1, max: 255, step: 1 | 1 |
remap_to_frames | INT | optional | - | 0 |
interpolation_curve | FLOAT | optional | - | - |
remap_values | BOOLEAN | optional | - | false |
remap_min | FLOAT | optional | min: -100000, max: 100000, step: 0.01 | 0 |
remap_max | FLOAT | optional | min: -100000, max: 100000, step: 0.01 | 1 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | FLOAT | FLOAT | No | ["{node_id}", 0] |
1 | STRING | STRING | No | ["{node_id}", 1] |
2 | INT | INT | No | ["{node_id}", 2] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this WeightScheduleConvert node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
FLOAT (FLOAT):["5", 0]STRING (STRING):["5", 1]INT (INT):["5", 2]
Was this page helpful?