View Full Version : get a list of verticies in a cluster?
sabathyus 11 November 2006, 09:36 PM does anyone know how to get a list of the verticies in a cluster?
I can fake it with
select -r cluster;
EditMembershipTool;
string $vertList[]= `ls -sl`;
...but that's kind of silly.
I figures there must be some sort of command for this or at least finding out what set it is in....
|
|
rokandic
11 November 2006, 11:31 AM
Every cluster has it's own deformer set associated (for instance cluster1set), you can either see it i the set editor or check cluster.message connection. You can use sets command to get the members out, for instance:
string $vertices[] = `sets -q cluster1set`;
sabathyus
11 November 2006, 09:17 PM
yep, that's exactly what I needed.
Thanks
But where did you get the ".message" part? I can't find that in the cluster docs. I had to ShowAuxillary in the hypergraph before I could believe it really existed.
rokandic
11 November 2006, 11:18 AM
Yep, hypergraph is your friend for quick finding all kind of connections. You can also use `listConnections` command.
CGTalk Moderation
11 November 2006, 11:18 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.