MoveSelectionToAnotherLayer

 

The MoveSelectionToAnotherLayer method moves selected objects of the active layer to another layer.

 

Syntax

object.MoveSelectionToAnotherLayer( LayerName )

 

Parameter

Type

Description

LayerName

String

required; destination layer name for selected objects

 

Example

This example moves the selected objects on the active layer to the layer named Road Layer.

 

CurrentLayer.MoveSelectionToAnotherLayer("Road Layer")

 

Used by: Layer object