Description Creates a copy of an item on the object tree.
Syntax newID = CopyEntity entityType, n
Parameters newID As Long The identifier of the new item created by the copy process.
entityType As String The identifier of the object type to be copied. Allowable values are: "Geometry", "Source", "Analysis", "Material", "Coating", "Scatterer", "RaytraceCtrl", "Spectrum", and "SurfRoughness".
n As Long The node number of the item being copied.
Remarks This subroutine creates a copy an item on the object tree and if called by assignment returns the node number of the newly created item. The command is not limited to source, geometry or analysis items and can be used to copy other items on the object tree.
See Also
|