Skip to main content

read property

Read a property from an object

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 weeks ago

Inputs

Name

Abbreviation

Type

Access

Description

Object

O

Any

Item

The object to read from

Property

P

String

Item

The property to read

Outputs

Name

Abbreviation

Type

Access

Description

Value

V

Any

Item

The value of the property

How to:

  1. Add the read property node to the canvas

  2. Connect in a feature or object

  3. Identify the property to read

    • You could type the property into the box on the node, or connect a string or panel node.

    • The property name will be formatted with a leading prefix to identify its nested location in the object.

      • For instance:

      To read the Levels from this object, type **properties.**levels

      • Using the Reader node can assist in determining nested location of properties.

        Each { } (curly brackets) indicates a nesting level. In this example, Levels is inside the properties { }

      As a further example:

      If you wanted to read the geometry type, you would put **geometry.**type in the read properties input

  4. The output is the value stored in that property

Did this answer your question?