View Full Version : select object - store highest CV

04 April 2003, 10:13 PM
How would you store a value or create a locater at the highest point in Y by just selecting an object? Through a sriptJob?

04 April 2003, 10:36 PM
hmm .. get all vertices into an array and check the possition of the vertices .. and place a locater or write the koordnates of the vertex into an varaible :o ...

04 April 2003, 01:15 AM
I'll try that method.

I can do what I want using the -bb flag if the objects bottom is at Y 0


select obj;
float $array[6] = `xform -q -bb`;
print $array[4];

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