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] |
List of objects to filter. Default Value: Current selection. |
|
|
NbItems [in/out] |
Number of items to clone Default Value: 1 |
|
|
Hierarchy [in/out] |
How to parent duplicate Default Value: siNoParent |
|
|
Grouping [in/out] |
How to group cloned object Default Value: siNoGrouping |
|
|
Properties [in/out] |
How to duplicate properties on the cloned objects Default Value: siDuplicateProperties |
|
|
Animation [in/out] |
How to duplicate animation on the cloned objects Default Value: siDuplicateAnimation |
|
|
Constraints [in/out] |
How to duplicate constraints on the cloned objects Default Value: siDuplicateConstraints |
|
|
Selection [in/out] |
How to select cloned objects Default Value: siSetSelection |
|
|
Xfrom [in/out] |
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] |
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 listSee Also
Autodesk Softimage v7.5