Clone

Introduced

3.0

Description

Same as Duplicate, except that the geometry gets copied from the original object in a relational way.

Scripting Syntax

    Clone( [InputObjs], [NbItems], [Hierarchy], [Grouping], [Properties], [Animation], [Constraints], [Selection], [Xfrom], [Sx], [Sy], [Sz], [Rx], [Ry], [Rz], [Tx], [Ty], [Tz], [TrackXform] )

Parameters

Parameter | Type | Description
InputObjs [in/out] | String | List of objects to filter. Default Value: Current selection.
NbItems [in/out] | Long | Number of items to clone Default Value: 1
Hierarchy [in/out] | siDupParent | How to parent duplicate Default Value: siNoParent
Grouping [in/out] | siDupGroup | How to group cloned object Default Value: siNoGrouping
Properties [in/out] | siDupProperty | How to duplicate properties on the cloned objects Default Value: siDuplicateProperties
Animation [in/out] | siDupAnimation | How to duplicate animation on the cloned objects Default Value: siDuplicateAnimation
Constraints [in/out] | siDupConstraint | How to duplicate constraints on the cloned objects Default Value: siDuplicateConstraints
Selection [in/out] | siDupSelection | How to select cloned objects Default Value: siSetSelection
Xfrom [in/out] | siDupTransform | How to distribute cloned objects using transform Default Value: siGlobalXForm
Sx [in/out] | Numeric value | Scaling x value Default Value: 1.0
Sy [in/out] | Numeric value | Scaling y value Default Value: 1.0
Sz [in/out] | Numeric value | Scaling z value Default Value: 1.0
Rx [in/out] | Numeric value | Rotation x value Default Value: 0.0
Ry [in/out] | Numeric value | Rotation y value Default Value: 0.0
Rz [in/out] | Numeric value | Rotation z value Default Value: 0.0
Tx [in/out] | Numeric value | Translation x value Default Value: 0.0
Ty [in/out] | Numeric value | Translation y value Default Value: 0.0
Tz [in/out] | Numeric value | Translation z value Default Value: 0.0
TrackXform [in/out] | String | Track placement. Default Value: ""

Return Value

Returns an XSICollection object that contains the list of clones.

Examples

VBScript Example

    dim list
    GetPrim "Cone", "MyCone"
    set list = Clone( "MyCone" )
    InspectObj list

See Also

Duplicate | SIDuplicate

Autodesk Softimage v7.5