PDA

View Full Version : selecting objects with the same first characters...


jackkhouri
04-24-2003, 08:57 PM
how do i write in Mel when i want to select many objects that has the same first letters

like for example if in my scene i have many locators named :

loc_one
loc_two
etc...

in the outliner i just write in the text field : loc_* and it shows only the object with "loc_" and nothing else!!!


can i do this in scrypting!!!

thanks jack

Buexe
04-24-2003, 10:08 PM
select "loc*";
This should do the job
You can also put a wildcard(*) in the beginning to select all objects with another part of the name ie "*one*"

buexe

CaptainSam
04-24-2003, 10:08 PM
select "loc*"

CaptainSam
04-24-2003, 10:12 PM
damn, buexe was faster

Buexe
04-24-2003, 10:17 PM
Hey, you forgot the emoicon
:banghead:
Usually I am the one who posts second place ; )
Cheers
buexe

jackkhouri
04-24-2003, 11:12 PM
oh my god i feel so stupid, i kept writing :

select -r "loc*";

ah well

thanks guys

later jack

jackkhouri
04-24-2003, 11:13 PM
oops my bad again it works i think i had forgoten the ""

stupid, stupid stupid

shutting up now

thanks again!

CGTalk Moderation
01-14-2006, 11:00 PM
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.