Element: graphic_window.vector_layer( )

Syntax

<window>.vector_layer(<group>)

Type

layer

Description

A function which returns the vector layer corresponding to a particular entity group.

Every graphic window has one or more vector layers, each associated with an entity group. This function provides a convenient reverse look-up.

The code of this function cannot be redefined.

Examples

Find the layer associated with a particular group and set its view scale thresolds.

gwin.vector_layer(buildings).thresholds = <1,25>

See Also

Commands:

layer, wgraphic

Structures:

layer, window.group_order, window.layers, window.vector_layers