This is an old revision of the document!
Table of Contents
DuplicateObject
Summary
This function allows you to create a duplicate of an already existing asset. You may also rename the new duplicate, change its position or parent it to another asset.
Parameters
Target
Type: Text Default: None
Specifies the name or ARDI ID of another asset to duplicate. If using an asset ID, begin the target with the '#' character.
Name
Type: Text Default: None
This parameter allows you to specify a name for the new asset created after duplication.
Position
Type: XYZ Coordinates Default: 0,0,0
The co-ordinates in which to place the asset within the 3D world. Co-ordinates are defined as “x,y,z”, separated by a ',' and no spaces.
AttachTo
Type: Text Default: None
Specifies the name or ARDI ID of another asset for which this asset is to be parented to. If using an asset ID, begin the target with the '#' character. This parameter is optional
If defined, this asset will be parented to the specified asset and it's position will be converted to local co-ordinates around the parent asset.
Examples
Test