# Select Childs Within A Group Parent

**URL:** https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090
**Category:** Maya
**Tags:** mel
**Created:** [April 4, 2009, 7:26pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090 "2009-04-04T19:26:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![divineavatar](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/2acd7d/32.png) [@divineavatar](https://forum.highend3d.com/u/divineavatar)
#### Post date: [April 4, 2009, 7:26pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090/1 "2009-04-04T19:26:16Z")

</div>

Hello,

What is the syntax to select an object inside a group?

if i create a sphere and group it, then duplicate the group, ill have the following:

group1  
---pSphere1  
group2  
---pSphere1

now if you type: select pSphere1;  
you'll get an error: // Error: line 1: More than one object matches name: pSphere1 //

I tried: select group1|pSphere1;

But that also gave an error: // Error: line 1: No object matches name: group1|pSphere1 //

How can i select an object from a particular group?

Thanks for any help.

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [April 4, 2009, 8:00pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090/2 "2009-04-04T20:00:41Z")

</div>

try this:

select |group1|pSphere1;

---

<div class="post-metadata">

### Author: ![cyberika](https://forum.highend3d.com/user_avatar/forum.highend3d.com/cyberika/32/98_2.png) [@cyberika](https://forum.highend3d.com/u/cyberika)
#### Post date: [April 4, 2009, 8:01pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090/3 "2009-04-04T20:01:15Z")

</div>

You must write a root to your object. You need to use | symbol.

CODE  
select pSphere1|pSphere1;

---

<div class="post-metadata">

### Author: ![cyberika](https://forum.highend3d.com/user_avatar/forum.highend3d.com/cyberika/32/98_2.png) [@cyberika](https://forum.highend3d.com/u/cyberika)
#### Post date: [April 4, 2009, 8:02pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090/4 "2009-04-04T20:02:23Z")

</div>

Oops! Sorry gmask ![]()

---

<div class="post-metadata">

### Author: ![divineavatar](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/2acd7d/32.png) [@divineavatar](https://forum.highend3d.com/u/divineavatar)
#### Post date: [April 4, 2009, 8:10pm UTC](https://forum.highend3d.com/t/select-childs-within-a-group-parent/1090/5 "2009-04-04T20:10:48Z")

</div>

Excellent guys.

I didnt realise you needed the "|" at the front of the group name.  
Hence why group1|pSphere1 didnt work. ![]()

Many thanks for the help
