Nodes/Avatar Graph/Object Set Is Evaluated
ComfyUI Node

Object Set Is Evaluated

The evaluated-object flag, and why it's a no-op here

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Set Is Evaluated
  • BPY_OBJ
  • BPY_OBJ
valuefalse

In Blender, an "evaluated" object is the version that exists after the depsgraph does its work - after modifiers are applied, overrides resolved, and the object is actually ready for the renderer. The original object stays pristine; the evaluated copy is the one that shows up in the output. ObjectSet Is Evaluated is the node that sets the flag describing that, and here's the thing you need to know: in Avatar Graph it's effectively a no-op.

That's not a bug, it's how the pack works. The pack drives a headless Blender instance and resets it to factory settings at the start of every graph run. Everything you touch in a given run is the freshly created, pre-evaluation object - there's no depsgraph pipeline building evaluated copies mid-graph, and the flag Blender uses to mark an object as evaluated is read-only in the Python API anyway. Blender sets it; you don't.

So why is the node in the menu? Same reason as a dozen others in this family: the ObjectSet_* nodes are auto-generated from a dump of Blender's bpy.types.Object properties, and the generator includes read-mostly flags alongside the useful ones. This one's honest purpose is existence - it tells you the flag exists and that it's not a knob you turn.

How it works

Standard plumbing regardless: BPY_OBJ in, a boolean value (default false), a setattr on the underlying Blender object, and the same BPY_OBJ out the other end for the next node. It behaves exactly like its siblings - it just doesn't have much effect on state Blender considers read-only.

Inputs that matter:

  • BPY_OBJ - the object in question
  • value - boolean, default false

Installing Avatar Graph

One install for the whole pack:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui
cd avatar-graph-comfyui && pip install -r requirements.txt

Or ComfyUI Manager → Install Custom Nodes → search Avatar Graph → restart. Remember the pack's demands: bpy==3.6.0 means Python 3.10 (Windows gets a bundled 3.10 environment from the README; macOS/Linux use conda), and first launch downloads the SAM ViT-H model plus mediapipe landmarkers.

Common issues

The only real trap is thinking this node does something. It doesn't change render output, it doesn't bake modifiers, and it won't make a deformed mesh "evaluate" for you. If you're after modifiers being applied, that's not this flag - and not something the demo avatar workflows really reach for either. Treat this node as documentation you can wire in for readability, not as a feature.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
valueoptBOOLEANfalse

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ