v3.0
Same as Duplicate, except that the geometry gets copied from the original object in a relational way.
oReturn = Clone( [InputObjs], [NbItems], [Hierarchy], [Grouping], [Properties], [Animation], [Constraints], [Selection], [Xfrom], [Sx], [Sy], [Sz], [Rx], [Ry], [Rz], [Tx], [Ty], [Tz], [TrackXform] ); |
Returns an XSICollection object that contains the list of clones.
Parameter | Type | Description |
---|---|---|
InputObjs | String |
List of objects to filter. Default Value: Current selection. |
NbItems | Long |
Number of items to clone Default Value: 1 |
Hierarchy | siDupParent |
How to parent duplicate Default Value: siNoParent |
Grouping | siDupGroup |
How to group cloned object Default Value: siNoGrouping |
Properties | siDupProperty |
How to duplicate properties on the cloned objects Default Value: siDuplicateProperties |
Animation | siDupAnimation |
How to duplicate animation on the cloned objects Default Value: siDuplicateAnimation |
Constraints | siDupConstraint |
How to duplicate constraints on the cloned objects Default Value: siDuplicateConstraints |
Selection | siDupSelection |
How to select cloned objects Default Value: siSetSelection |
Xfrom | siDupTransform |
How to distribute cloned objects using transform Default Value: siGlobalXForm |
Sx | Numeric value |
Scaling x value Default Value: 1.0 |
Sy | Numeric value |
Scaling y value Default Value: 1.0 |
Sz | Numeric value |
Scaling z value Default Value: 1.0 |
Rx | Numeric value |
Rotation x value Default Value: 0.0 |
Ry | Numeric value |
Rotation y value Default Value: 0.0 |
Rz | Numeric value |
Rotation z value Default Value: 0.0 |
Tx | Numeric value |
Translation x value Default Value: 0.0 |
Ty | Numeric value |
Translation y value Default Value: 0.0 |
Tz | Numeric value |
Translation z value Default Value: 0.0 |
TrackXform | String |
Track placement. Default Value: "" |
dim list GetPrim "Cone", "MyCone" set list = Clone( "MyCone" ) InspectObj list |