PDA

View Full Version : reorder vertex


john_homer
12-16-2003, 06:04 PM
hi all,
can anyone tell me if it is possible to change the vertex number?

so I select pSphere1.vtx[165]
and tell it to now be pSphere1.vtx[1],

after I have told pSphere1.vtx[1] to be anaother number of course ;)

any ideas??
.j

john_homer
12-16-2003, 10:30 PM
or alternatively... can you get maya to return the selected components in the order thay were selected?

example..
select -r pSphere1.vtx[2] ;
select -tgl pSphere1.vtx[1] ;

print (`ls -flatten -sl`);

maya returns...
pSphere1.vtx[1]
pSphere1.vtx[2]

whis is a real pain....
.j

ACFred
12-16-2003, 10:51 PM
Hey John,

Actually, this came up today at work. I haven't tried it yet, but if you query the Undo buffer, it should have the list of vertices in the order they're selected prior to Maya collapsing them into the [#:#] bit.

Alec

Gabester
08-31-2005, 04:34 AM
Yep the undo thing works.

The only downfall is that you can only query the last event. So you will have to query the event, put it in a variable, then perform an undo, then query the event again which will return the action previous to the last.

john_homer
08-31-2005, 06:10 AM
wow! how old is that post???
you really confused me by bringing that one back...

this is my favorite part... (apparently I couldn't type back then) :eek:


whis is a real pain....
.j

to query the undo que does work, but is a pain in the ass...

.j

thematt
08-31-2005, 09:37 AM
wow ..that's what i call a zombie thread..lol

Gabester
09-01-2005, 12:47 AM
It doesn't matter how old a thread is. The same problems come up again and again which is why we iterate over old threads.

CGTalk Moderation
09-01-2005, 12:47 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.