Skip to content

Domain class methods for ForEachGeometryElementZone (e.g. .instance(geometry)) #166

Description

@BradyAJohnston

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions