Notifications
Clear all

[Closed] 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 :banghead: )

thanks!

4 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

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

see the MXS help
[font=Verdana]Pathname Literals[/font]

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??? :hmm: :hmm: :hmm:

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

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.

thanks MASTER Denis