objects name are same but in different heirarchy

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
objects name are same but in different heirarchy

Hi guys, have you got this kind experience,
objects name are same but in different heirarchy(path)
for example,
1 create a box called box01,
2 create a dummy called dummy01,
3 link box01 to dummy01,
4 create the second box called box01

now there are two boxs called box01, one is dummy01/box01, another is /box01,
how can I select the box that is "dummy01/box01" by max script ? ("select box01" will select /box01 )

thanks!
__________________
.쳱 v+f-e=p(2)
-----------will be done

Last edited by Dontnoun : 02 February 2013 at 02:11 PM.
 
Old 02 February 2013   #2
Originally Posted by Dontnoun: Hi guys, have you got this kind experience,
objects name are same but in different heirarchy(path)
for example,
1 create a box called box01,
2 create a dummy called dummy01,
3 link box01 to dummy01,
4 create the second box called box01

now there are two boxs called box01, one is dummy01/box01, another is /box01,
how can I select the box that is "dummy01/box01" by max script ? ("select box01" will select /box01 )

thanks!



select $Dummy01/Box01
select $...Box001 -- select both


see the MXS help
Pathname Literals
 
Old 02 February 2013   #3
Unhappy

thanks!Denis

it works, but if there are two objects have same name, and same heirarchy level, like>

1 create a box called box01,
2 create another box called box02, rename as box01,
now ,there are tow boxes, same name , and same level,
"select $box01", will select the box that created first, in this case, how can I only select second created box01???
__________________
.쳱 v+f-e=p(2)
-----------will be done
 
Old 02 February 2013   #4
Originally Posted by Dontnoun: thanks!Denis

it works, but if there are two objects have same name, and same heirarchy level, like>

1 create a box called box01,
2 create another box called box02, rename as box01,
now ,there are tow boxes, same name , and same level,
"select $box01", will select the box that created first, in this case, how can I only select second created box01???

select both and check what was created last comparing their anim handles...

but if you want to easy identify any node don't name them the same.
 
Old 02 February 2013   #5
thanks MASTER Denis
__________________
.쳱 v+f-e=p(2)
-----------will be done
 
Old 02 February 2013   #6
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:25 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.