ComfyUI  >  Nodes  >  ComfyUI-Keyframed >  Set Curve Label

ComfyUI Node: Set Curve Label

Class Name

KfSetCurveLabel

Category
keyframed
Author
dmarx (Account age: 4505 days)
Extension
ComfyUI-Keyframed
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install ComfyUI-Keyframed

Install this extension via the ComfyUI Manager by searching for  ComfyUI-Keyframed
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Keyframed in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Set Curve Label Description

Assign or update keyframed curve labels for organization and easy identification in projects.

Set Curve Label:

The KfSetCurveLabel node is designed to allow you to assign or change the label of a keyframed curve. This can be particularly useful when you are working with multiple curves and need to organize or identify them easily. By setting a meaningful label, you can streamline your workflow, making it easier to reference and manage curves within your project. This node essentially takes an existing keyframed curve and updates its label to the specified string, ensuring that your curves are well-documented and easily distinguishable.

Set Curve Label Input Parameters:

curve

The curve parameter expects a keyframed curve input. This is the curve whose label you want to change. The input type is KEYFRAMED_CURVE, and it is a required parameter. This parameter ensures that the node has a valid curve to work with, and it must be provided for the node to function correctly.

label

The label parameter is a string that represents the new label you want to assign to the curve. This parameter is also required and has a default value of ~curve~. The label should be a meaningful name that helps you identify the curve easily in your project. It is a single-line string input, meaning it does not support multiline text.

Set Curve Label Output Parameters:

KEYFRAMED_CURVE

The output of the KfSetCurveLabel node is a keyframed curve with the updated label. This output retains all the original properties and data of the input curve but with the new label assigned. The output type is KEYFRAMED_CURVE, which can be used in subsequent nodes that require a keyframed curve input.

Set Curve Label Usage Tips:

  • Use descriptive and meaningful labels to make it easier to identify and manage your curves within complex projects.
  • Ensure that the curve parameter is connected to a valid keyframed curve to avoid errors.
  • Utilize the default label ~curve~ as a placeholder and update it to a more specific name as your project evolves.

Set Curve Label Common Errors and Solutions:

Invalid curve input

  • Explanation: This error occurs when the curve parameter is not connected to a valid keyframed curve.
  • Solution: Ensure that you provide a valid keyframed curve as input to the curve parameter.

Label cannot be empty

  • Explanation: This error occurs when the label parameter is left empty.
  • Solution: Provide a non-empty string for the label parameter to ensure the curve is properly labeled.

TypeError: 'NoneType' object has no attribute 'label'

  • Explanation: This error occurs if the input curve is None or not properly initialized.
  • Solution: Verify that the input curve is correctly generated and passed to the KfSetCurveLabel node.

Set Curve Label Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Keyframed
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.