Copy Method

Land Auto

Copy Method

Creates a copy of an existing object.

See Also | Example

Signature: Overview

l Prototypes

l Surfaces


Copies a prototype.

Signature

RetVal = object.Copy(FromName, ToName)

object

Prototypes The object or objects this property applies to.

FromName

String; input-only
The name of the prototype you wish to copy.

ToName

String; input-only
The name of the copy.

RetVal

Prototype object
The newly added Prototype object.

Remarks

The new prototype is created at the PrototypePath directory.


Copies a surface.

Signature

RetVal = object.Copy(SurfaceName)

object

Surfaces
The object or objects this property applies to.

SurfaceName

String; input-only
The name of the surface to be copied.

RetVal

Surface object
The newly added Surface object.

Remarks

The new surface created will have " Copy of" prefixed to the new surface name.