<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get driver value from driven python maya in Maya Animation and Rigging Forum</title>
    <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13194338#M293</link>
    <description>&lt;P&gt;Wonderful ! Thanks you !&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 08:19:30 GMT</pubDate>
    <dc:creator>maxime-picot</dc:creator>
    <dc:date>2024-12-05T08:19:30Z</dc:date>
    <item>
      <title>Get driver value from driven python maya</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13192491#M291</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I would like to retrieve the driver values ​​for my driven keys but I cannot retrieve them.&lt;/P&gt;&lt;P&gt;For example, I have my object A driver with a custom attribute and object B driven&lt;BR /&gt;When :&lt;BR /&gt;A = 0&lt;BR /&gt;B = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A = 5&lt;BR /&gt;B = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A = -5&lt;BR /&gt;B = -3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this line which allows me to retrieve the values ​​of the driven:&lt;/P&gt;&lt;P&gt;cmds.keyframe(driven_attr, query=True, valueChange=True)&lt;/P&gt;&lt;P&gt;So I manage to have:&lt;BR /&gt;B = [2,10,-3]&lt;/P&gt;&lt;P&gt;but how to get the value of A when B = 2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something similar to get the driver values ​​corresponding to these values?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:51:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13192491#M291</guid>
      <dc:creator>maxime-picot</dc:creator>
      <dc:date>2024-12-04T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get driver value from driven python maya</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13193350#M292</link>
      <description>&lt;P&gt;setDrivenKeyframes are not keys but floats.&amp;nbsp; So use the same query but change "valueChange" to "floatChange".&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 20:08:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13193350#M292</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2024-12-04T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get driver value from driven python maya</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13194338#M293</link>
      <description>&lt;P&gt;Wonderful ! Thanks you !&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 08:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/get-driver-value-from-driven-python-maya/m-p/13194338#M293</guid>
      <dc:creator>maxime-picot</dc:creator>
      <dc:date>2024-12-05T08:19:30Z</dc:date>
    </item>
  </channel>
</rss>

