Nodes/Avatar Graph/Object Set Is From Set
ComfyUI Node

Object Set Is From Set

Set it, or don't — it barely matters

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

ObjectSet Is From Set sets a boolean on a Blender object that records whether that object was spawned by a set - Blender's name for the collections that hold instanced or library content. If that sounds like a niche bit of metadata, you've got the right instinct. This is one of the least interesting nodes in the Avatar Graph pack, and it's fine to treat it that way.

Here's the honest breakdown. The property (is_from_set) is read-mostly in Blender's Python API - it's state the engine writes, describing where an object came from, not a lever you pull to make something happen. And in Avatar Graph's model, there's nothing for it to describe: the pack boots a headless Blender and resets the scene to factory settings at the start of every graph run, so every object in your graph is created fresh by your nodes. No linked sets, no library collections, no pre-existing geometry that "came from" anywhere. The flag is false for everything you touch.

So why is it in the node list? Because the ObjectSet_* family is auto-generated from a dump of Blender's bpy.types.Object properties, and the generator is indiscriminate - it exposes read-only metadata flags right next to genuinely useful setters like hide_render and is_shadow_catcher. This one landed on the "informational" side of the line.

How it works

Mechanically it's a clone of every sibling in the family: BPY_OBJ in, a boolean value (default false), a setattr on the underlying Blender object, and the same BPY_OBJ passed out for the next node.

Inputs that matter:

  • BPY_OBJ - the object whose origin flag you're setting
  • value - boolean, default false

Installing Avatar Graph

One install, 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. The usual pack notes: bpy==3.6.0 pins you to Python 3.10 (bundled environment on Windows via the README; conda on macOS/Linux), and the first launch downloads the SAM ViT-H model plus mediapipe landmarkers before anything runs.

Common issues

The one thing worth knowing: this node is not the same as ObjectSet IsFromInstancer, and neither one makes objects act like they came from a set. They're labels, not behaviors. If you're looking at a workflow that includes this node and wondering whether you need it, you don't - it's safe to bypass it entirely and chain straight past it. It's here for graph completeness, and that's it.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
valueoptBOOLEANfalse

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ