Other domain-bearing nodes expose the domain as class methods (g.CaptureAttribute.face(...), g.StoreNamedAttribute.point.float(...)), but the for-each zone takes a keyword:
zone = g.ForEachGeometryElementZone(pieces.o.instances, domain="INSTANCE")
Add domain class methods for consistency:
zone = g.ForEachGeometryElementZone.instance(pieces.o.instances)
Other domain-bearing nodes expose the domain as class methods (
g.CaptureAttribute.face(...),g.StoreNamedAttribute.point.float(...)), but the for-each zone takes a keyword:Add domain class methods for consistency: