intermediate objects

76 views
Skip to first unread message

Sebastian Schoellhammer

unread,
Dec 14, 2010, 6:06:01 AM12/14/10
to py...@googlegroups.com
Hello,

I have something weird happening while querying relatives using the "noIntermediate" flag

for m in ls(sl=True)[0].listRelatives(children=True, noIntermediate=True):

     print m.isIntermediate()


prints "True" even when I set the object to intermediate.

I noticed this is happening with cmds as well however so it's not really a pymel question :)

Still thanks for any tips!

seb

--
Sebastian Schoellhammer

Sr. Technical Artist
Square Enix LTD
www.square-enix.com

Paul Molodowitch

unread,
Dec 15, 2010, 2:13:02 AM12/15/10
to py...@googlegroups.com
Hmm... that's an odd one. As a guess, I'd say it's deeming this as 'intermediate' based off of connections, as opposed to the attribute - ie, if it shows up in the history of some shape node.  I'd always assumed it was basing it off the intermediate attribute as well, though.  Be interested to hear what you find out...

- Paul


--
You received this message because you are subscribed to the Google Groups "Pymel Python Module for Maya" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pymel+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pymel?hl=en.

Reply all
Reply to author
Forward
0 new messages