Nodes/Avatar Graph/Object Collection Objects Select
ComfyUI Node

Object Collection Objects Select

Grabbing a whole group of parts at once in Avatar Graph

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Collection Objects Select
  • BPY_OBJ
  • BPY_OBJ

An avatar built with Avatar Graph is made of a lot of small pieces - an eye plane, a mouth plane, maybe a torus or a sphere prop, all organized in Blender the way Blender organizes anything: into collections. Object Collection Objects Select is a scene-organization helper: it selects every object inside a given collection at once, instead of you wiring each individual mesh part into a batch operation one by one.

How it works

It wraps Blender's own "select objects in collection" behavior - point it at a collection (via the object/context it's given) and it selects everything grouped inside it. This matters for chaining because several of this pack's other Blender operators respect Blender's selection state, not just the single object passed directly into them (Object Simulation Nodes Cache Delete's selected option is a direct example of this pattern elsewhere in the pack). Selecting a whole collection first is how you apply an operation to "all the parts of this avatar" or "all the props in this group" without building a separate node chain for each one.

The inputs and outputs that matter

There's exactly one input:

  • BPY_OBJ - the object representing (or belonging to) the collection you want to select from.

No further configuration is exposed - it's a select-all-in-group operation, not a filtered or conditional select. Output is a single BPY_OBJ, passed through so you can continue the chain into whatever collection-wide operation you're setting up.

How to install it

ComfyUI Manager, search "Avatar Graph", install, restart - or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui

then pip install -r requirements.txt and restart. Needs Blender's bpy module, pinned to Python 3.10.x - a dedicated conda environment on macOS/Linux, or Avatech's prebuilt Python-3.10 ComfyUI zip on Windows with the pack installed through Manager afterward.

Common issues & troubleshooting

If the node won't load, that's the pack's Python-version pin, not this operator - check ComfyUI's startup console for an import error and confirm a clean Python 3.10.x environment with requirements.txt installed fully.

If a downstream selection-dependent operation isn't behaving as expected, check that your objects are actually organized into the collection you think they are in the Blender scene - this node selects whatever's genuinely grouped there, so a part that ended up outside the collection (or in a nested sub-collection, if that distinction matters to how the underlying operator walks the hierarchy) won't get picked up even though it looks related in your ComfyUI graph.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ