Skip to content

Layer selection issue #379

@ivayloc-neoshare

Description

@ivayloc-neoshare
  • Code Connect CLI version: 1.4.2
  • Operating system - macOS Tahoe

I’m having trouble using findLayers() to locate specific layers. I have the following layer structure:

Image

I want to select the Content layer, then get its Rows as an array, and within each row access the Left side and Right side layers. This would let me easily align the content in the Code Connect example.

However, I can’t get this working with:

instance.findLayers((n) => n.name === 'Content');

or even with:

instance.findLayers((n) => n.name === 'Content', { traverseInstances: true });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions