View Full Version : how to select all instanced surfaces which have the same name
stunndman 06-30-2002, 04:56 AM i have some surfaces that i grouped and then duplicated the group (as instances) - all surface instances have the same name but are in different groups
i can't seem to manage to select all surfaces by using mel - selecting them by hand is just too tedious
how can i enumerate or select all surface nodes with the same name?
i'm stuck
|
|
wrend
06-30-2002, 06:06 AM
you need to use namespaces, so to select the instanced surfaces translate nodes, do something like group2|surface3. gluck!
svenip
06-30-2002, 08:29 AM
in the status line is an input field for selection. just type objectName* and it will select all objectName with the wildcard.
stunndman
06-30-2002, 01:24 PM
Originally posted by svenip
in the status line is an input field for selection. just type objectName* and it will select all objectName with the wildcard.
as i wrote - all surfaces have the same name (but are in different groups) - using quick selection will only select the first surface it encounters - using wildcard won't help because they have the same name anyway
graphiouz
06-30-2002, 03:00 PM
i cant understand what a melScript can do if you have many groups and within thoes group has the same names,.
maybe you need to rename a few things :)
because if you make a script that select a specific object, then how can that mel understand what to select,,
but hey, if you have seperate groups, then i see what your heading :)
.
stunndman
06-30-2002, 03:17 PM
Originally posted by graphiouz
i cant understand what a melScript can do if you have many groups and within thoes group has the same names,.
maybe you need to rename a few things :)
because if you make a script that select a specific object, then how can that mel understand what to select,,
but hey, if you have seperate groups, then i see what your heading :)
.
yeah - is there a notion of path in maya? - say like
group1|surface1
group2|surface1
they look like paths to me
svenip
06-30-2002, 04:57 PM
you could put all the instances into an extra display layer. then you could select them via the layer. also through mel it's possible then.
stunndman
06-30-2002, 05:21 PM
Originally posted by svenip
you could put all the instances into an extra display layer. then you could select them via the layer. also through mel it's possible then.
yeah - but to add them to a layer i would have to select them by hand in the first place - and that's what i am trying to avoid here - because there are hundreds of duplicates and some of them are just too tiny and it would take me forever (almost)
wrend
06-30-2002, 09:49 PM
yep, like i said: namespaces or paths - just like I and you wrote: group1|surface2. i think there is little spiel on this w/i the DAG node documentation. post back if you need more help.
also, svenip's method does allow you to select all instances of the name, regardless of what hierachies it maybe sitting w/i. eg surface2* (note that your not acually wildcarding an alphanumeric).
stunndman
07-01-2002, 02:11 AM
Originally posted by wrend
yep, like i said: namespaces or paths - just like I and you wrote: group1|surface2. i think there is little spiel on this w/i the DAG node documentation. post back if you need more help.
also, svenip's method does allow you to select all instances of the name, regardless of what hierachies it maybe sitting w/i. eg surface2* (note that your not acually wildcarding an alphanumeric).
ok - i did it - you have to specify the full path depth to the surface
like if the surface is grouped three times you have to select *|*|*|surface1
thanks for helping out
CGTalk Moderation
01-13-2006, 09:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.