ComfyUI Node
Enum Combo Advanced
Advanced workflow-local enum selector. Supports NAME and NAME = integer lines, with #, //, and /* */ comments.
Enum Combo Advanced
- value
- name
- index
- count
◄choiceOPTION_A►
◄start0►
◄stricttrue►
◄enum_definitionOPTION_A
OPTION_B►
Categoryutils/enum
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| choice | COMBO | OPTION_A | The enum member to select. The dropdown updates from enum_definition. |
| start | INT | 0-18446744073709550000–18446744073709550000 | The integer value used for the first unassigned member. |
| strict | BOOLEAN | true | If enabled, execution errors when the saved choice is not present in enum_definition. |
| enum_definition | STRING | OPTION_A OPTION_B | One enum member per line. Use NAME or NAME = integer. Unassigned values auto-increment from start or the previous explicit value. Quote labels that contain spaces. Supports #, //, and /* */ comments. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| value | INT | INT: The selected enum member's integer value. |
| name | STRING | STRING: The selected enum member's name. |
| index | INT | INT: The selected enum member's zero-based position in the definition. |
| count | INT | INT: The number of enum members in the definition. |