## ParentObjects

### Introduced

v5.0

### Description

Parents the specified or selected object(s) under the last object selected or specified. There must be at least two objects selected or specified as input and only the last selected or specified object is the parent. For example, if the user selects a cone, a cube, a disc and a sphere (in that order), the cone, cube, and disc will be parented under the sphere. Alternatively, you can specify these objects with the Objects argument: "cone, cube, disc, sphere" to get the same results without the Selection.

### Scripting Syntax

    ParentObjects( [Objects] );

### Parameters

Parameter | Type | Description
--- | --- | ---
Objects | String | List of objects to reparent Default Value: Current selection

### Examples

#### VBScript Example

    GetPrim "Null", "MyParent"
    GetPrim "Null", "MyChild"
    SelectObj "MyChild", , True
    AddToSelection "MyParent", , True
    ParentObjects

### See Also

ParentObj CutObj