CopySelectionToAnotherLayer

 

The CopySelectionToAnotherLayer method copies the selected objects on a layer to another layer.

 

Syntax

object.CopySelectionToAnotherLayer( LayerName )

 

Parameter

Type

Description

LayerName

String

required; layer name

 

Example

This example copies the selected objects of the current map layer to map layer named RoadLayer.

 

CurrentLayer.CopySelectionToAnotherLayer(" RoadLayer")

 

Used by: Layer object