Apply Xpresso Graph Description
apply_xpresso_graphBuilds Xpresso graphs declaratively by defining nodes with operator IDs and connecting ports in a single call, with optional auto-creation of a Texpresso tag.
Instructions
Declarative builder for an Xpresso (classic GvNodeMaster) graph — mirror of apply_graph_description but for Xpresso rather than Maxon node materials. Creates nodes (CreateNode) and wires connections (GvPort.Connect) in one call. Accepts an operator_id as an int (e.g. c4d.ID_OPERATOR_CONST=1001150) or short alias ('object'|'const'|'result'|'math'|'range_mapper'|'condition'|'compare'|'memory'|'iterate'|'bool'|'freeze'|'formula'|'realtovect'|'vecttoreal'|'matrix2vect'|'vect2matrix'|'link'|'spy'|'python'). Optionally creates the Texpresso tag when given an object handle and create_tag_if_missing:true. Example: build a Object.Global Position -> Result graph in three calls (create Cube → apply_xpresso_graph → EventAdd).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Node specs keyed by caller-chosen stable id (used in `connect`). | |
| handle | Yes | Xpresso tag handle (Texpresso) or an object handle (pass create_tag_if_missing:true to auto-add a tag). | |
| connect | No | Connection list. `from` defaults to dir='out' and `to` defaults to dir='in'. Internally always calls outputPort.Connect(inputPort). | |
| create_tag_if_missing | No | When handle is an object and no Texpresso tag exists, create one. Default true. |