Navigation: Scripting Reference Manual > Functions & Subroutines > ARNCreateCopy

 

ARNCreateCopy

 

Contact Us: fredsupport@photonengr.com

 

Description

Creates a new ARN by copying an existing ARN.

 

Syntax

newARNnode = ARNCreateCopy( oldARNnode, newARNname )

 

 

Parameters

newARNnode (Long)

Node number of the newly created ARN.

 

oldARNnode As Long

Node number of the ARN being copied.

 

newARNname As String

Name of the newly created ARN.

 

 

Remarks

The following example prints the number of existing ARNs, creates a new ARN by copying an existing node and then prints the final number of ARNs.

 

Print "There are " & ARNGetNodeCount( ) & " ARNs."

newArnNode = ARNCreateCopy( arnNode, "newArn" )

Print "There are " & ARNGetNodeCount( ) & " ARNs."

 

 

See Also

All ARN Scripting Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC