View Full Version : Cluster selection
nottoshabi 03-05-2008, 01:24 AM How do you select the cv's that a cluster is asighned to?
|
|
strarup
03-05-2008, 07:00 AM
Hi Mike,
hmm... what kind of cluster do you mean just a deformer or e.g. a skin cluster?
when you say CV's do you then mean a nurbs or curve object or vertices on a poly object?
just asking because I wonder and before making an wrong reply I thought I might better ask... :)
kind regards
Strarup
greatPumpkin
03-05-2008, 10:51 AM
the method for all deformers in maya is the same whether it's nurbs or polys- maya stores deformer membership in object sets connected to the source deformer, so... for a cluster:
string $set[] = `listConnections -type "objectSet" "cluster1"`;
select `sets -q $set[0]`;
nottoshabi
03-05-2008, 04:26 PM
Thanks greatPumpkin (http://forums.cgsociety.org/member.php?u=26546) thats what i was looking for.
CGTalk Moderation
03-05-2008, 04:26 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.