Nodes/Avatar Graph/Object Call Hide Get
ComfyUI Node

Object Call Hide Get

Reading whether an object is hidden

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Call Hide Get
  • BPY_OBJ
  • BPY_OBJ

ObjectCall_HideGet is the read half of a visibility pair buried in Avatar Graph's (avatechai/avatar-graph-comfyui) auto-generated wrapper over Blender's bpy.types.Object API. The pack's real feature - rigging a still character portrait into a live, blinking, lip-syncing 2D avatar - never surfaces this node in its documented workflow; it exists because the generator wrapped essentially the whole Object API, visibility flags included.

How it works

It maps to Object.hide_get(view_layer), documented as: "get the object's hide state for a given view layer." In Blender, an object can be shown or hidden per view layer - the equivalent of clicking the eye icon next to an object in the outliner - and this call reads that current state.

Why you'd reach for it

Paired naturally with ObjectCall_HideSet: if you're scripting a pipeline that toggles helper objects (reference planes, debug geometry, unused mesh layers) on and off mid-process - hiding them before a bake or render step, then showing them again - this is how you'd check current state before deciding whether to flip it.

Inputs and outputs

Just one optional BPY_OBJ input, one BPY_OBJ output. Blender's real hide_get() also accepts an optional view_layer argument (defaulting to the current one if omitted) and returns a boolean - neither of those show up in this node's schema. You always read the active view layer's state, and like the rest of the ObjectCall_* family, the boolean result itself isn't wired out as a separate output - you only get the object passed straight through.

Installing it

Avatar Graph pulls in Blender's bpy module as a dependency, which makes it a real install rather than a drop-in. On Windows, use the author's bundled Python 3.10 environment (linked in their README), unzipped into your ComfyUI folder and launched via the included .bat, then install "Avatar Graph" from ComfyUI Manager. On macOS/Linux, pin your ComfyUI environment to Python 3.10.x exactly - conda is the cleanest way (conda create --name comfyui python=3.10). Then cd ComfyUI/custom_nodes, git clone https://github.com/avatechai/avatar-graph-comfyui.git (their README's own manual-install command points at a stale org, avatechgg - the repo actually lives under avatechai). cd avatar-graph-comfyui && python -m pip install -r requirements.txt, then restart with python main.py --enable-cors-header (Mac: also --force-fp16). That flag opens CORS so the hosted viewer at editor.avatech.ai can talk to your local ComfyUI; skip it if you're exporting .glb/.gltf from Avatar Main Output instead.

Common issues

Python-version mismatch is still the recurring first blocker for this whole pack - bpy needs 3.10.x, not newer. Specific to this node: because the boolean it reads never comes out as an output wire, this node alone can't drive a conditional branch elsewhere in your graph - it's a call you make for its side-effect-free query, not something you can chain a decision off of within this schema. As with the rest of this batch, there's no author documentation for it, so this description is grounded in Blender's own Object.hide_get() API docs.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ