CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »
Thread Tools Search this Thread Display Modes
Old 05-21-2013, 02:44 PM   #16
A newbie
zoharl's Avatar
Wellington, New Zealand
Join Date: Mar 2009
Posts: 1,821
Ho, sorry about that, now I read it again, and get how it sounds. I should definitely have expressed myself more clearly.
BFF (even if we hold different opinions, or tease each other).
Old 05-21-2013, 05:31 PM   #17
jackson five
no Company
Join Date: Nov 2011
Posts: 66
that was a huge response, i was surprised just by looking at my inbox filled with cgs replies. thanks a lot people!
anyway like djx suggested, splitting string list with "|" worked well for me and i`m not gona get into pyMel stuff just yet as there are barely any resources on internet about pyMel. if you know anything related to pyMel, please give me the link and i will try to buy it.
thanks again, thanks for the replies!
Old 06-07-2013, 12:05 AM   #18
tick tick tick
ftaswin's Avatar
Sydney, Australia
Join Date: Oct 2004
Posts: 766 =True, l=True)[0].split('|')[1] ----> will give you joint1 when joint9 is selected


sel = =True, l=True)[0].split('|') for i in sel : if'|'.join(sel[:sel.index(i)+1]), type='joint') : root = i print root break

will give joint1 when joint9 is selected, even when joint1 is sitting under a group

Last edited by ftaswin : 06-07-2013 at 12:25 AM.
Old 06-07-2013, 12:05 AM   #19
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,479
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:00 PM.

Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.