get_property

Gets a property from an object. Note that properties are key-value pairs, where the key is a name (character string) and the value can be almost anything. In many cases, the value may be another object.

Usually, you probably should use a different node than get_property. For example, if you want to get the values of a property like point_size on a geometric object, you should use get_geo_property instead. For some common properties, there may also be specific nodes like get_point_position.

Inputs

object

A geometric object.

default_and_type

Connect a value node of the same type as the property's value. If the property does not exist or is of a different type, this is also the value that is returned as the output.

key

The name of the property.

Output

value

The property's value, or the default_and_type if not successful.