Hey Vincent, have a look at the cmds.listHistory
<http://help.autodesk.com/cloudhelp/2018/ENU/Maya-Tech-Docs/CommandsPython/listHistory.html>
command.

On Fri, 12 Apr 2019 at 20:11, <fruityfr...@gmail.com> wrote:

> Hi,
> I was wondering if there is a way to get maya objects affected by a given
> object ?
>
> When you select something in the viewport, everything affected by your
> selection will be displayed in wireframe purple. Is there a command to get
> this result ? (something like obj1.isAffectedBy(obj2) returning a bool)
> The only way I see to do it would be to do some recursive function but I'm
> not sure how reliable it'd be (e.g. a constraint would be- connected on
> both source/destination to the same network)
>
> Thank you !
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/97b68173-6c69-42da-81df-2a5345afd0b6%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA8zJnQNUExVe26az40B6sL4fDOAC8Kj64v-KHmE3zEFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to