PDA

View Full Version : 2 shapes in 1 transform node


mizzo
10-05-2003, 10:41 PM
Hi

I wonder if it is possible to put two shapes node under the same transform node. I would like to create a control object with 2 curves. If you create a nurbs cylinder with caps you get 3 shapes nodes in ine transform node.

mi

zachgrachan
10-05-2003, 11:07 PM
select the two(or more parts) and hit ctrl - g or go Edit>group.

If you'd like to be able to select one part and have all the others selected automatically: select all automatic parts, then the one you want at the top of the hierarchy and hit p or go Edit>parent.

windows>outliner or hypergraph will show how this works.

mizzo
10-05-2003, 11:28 PM
thanks for the reply,
ive tried that, but if you select the child curve, the parent curve is not selected.

bjarneheden
10-06-2003, 12:03 AM
You can solve this with a MEL script.

I assume you already have a transformnode with a shapenode and another transformnode with another shape node.

Select the shapenode that you want to add to your other transformnode, then shift select the transformnode you want it to end up in.

Then run this script:

parent -s -r;

I use this for all kinds of stuff.



Best regards,

Bjarne

mizzo
10-06-2003, 12:13 AM
tack!
it works as i was dreaming of
mi

zachgrachan
10-06-2003, 12:14 AM
you could also use select by hierarchy, instead of by objects

bjarneheden
10-06-2003, 12:25 AM
Originally posted by mizzo
tack!
it works as i was dreaming of
mi

Härligt ;)

You can use this for any shapenode. For example you can use a shapenode instead of those annoying selection handles on joints or clusters and whatever...


/Bj

loked
10-06-2003, 12:31 AM
To do this, you must select the shape node of one curve, then shift select the curve that you want to be the parent transform node. Now in the command line type parent -r -s

later:wavey:
loked

CGTalk Moderation
01-16-2006, 06: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.