<?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: How to get animation Node data? in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6339674#M2750</link>
    <description>&lt;P&gt;after quite some digging in the documentation, I found ReadData actually exist, but only in the C++ api like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;bool  WriteData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Write data to animation node. More...
 
  
bool  WriteGlobalData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Write global data to animation node. More...
 
  
bool  ReadData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Read data from animation node. More...
 
  
bool  ReadData (double *Data, FBTime pTime) 
  Read data from animation node. More...
 
  
bool  ReadData (double *Data) &lt;/PRE&gt;&lt;P&gt;I guess&amp;nbsp;I hit the ultimate brick wall..&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 08:49:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-20T08:49:59Z</dc:date>
    <item>
      <title>How to get animation Node data?</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6332014#M2748</link>
      <description>&lt;P&gt;Hello, I have created an example code of what I wanted to do:&lt;/P&gt;&lt;PRE&gt;def FindAnimationNode( pParent, pName ):
    lResult = None
    for lNode in pParent.Nodes:
        if pName == lNode.Name:
            lResult = lNode
            break
    return lResult
    
lConstraintRelation = FBConstraintRelation( 'scripted1Relation' )
mltplyNode = lConstraintRelation.CreateFunctionBox( 'Number', 'Multiply (a x b)' )
gotAnimNode=FindAnimationNode(mltplyNode.AnimationNodeInGet(), 'b')
gotAnimNode.WriteData([100])

gotAnimNode#how do I get the Written Data 100?&lt;/PRE&gt;&lt;P&gt;I want to find a function that can return the 100&amp;nbsp;for me, but there's no getData function... any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 07:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6332014#M2748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-18T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get animation Node data?</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6332150#M2749</link>
      <description>&lt;P&gt;I've searched the forum, and seemed like there others who are looking for an answer for this as well, but no solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/motionbuilder-python/get-data-from-relation-constraint-box/m-p/5220525/highlight/true#M2658" target="_blank"&gt;http://forums.autodesk.com/t5/motionbuilder-python/get-data-from-relation-constraint-box/m-p/5220525/highlight/true#M2658&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 08:27:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6332150#M2749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-18T08:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get animation Node data?</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6339674#M2750</link>
      <description>&lt;P&gt;after quite some digging in the documentation, I found ReadData actually exist, but only in the C++ api like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;bool  WriteData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Write data to animation node. More...
 
  
bool  WriteGlobalData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Write global data to animation node. More...
 
  
bool  ReadData (double *Data, FBEvaluateInfo *pEvaluateInfo) 
  Read data from animation node. More...
 
  
bool  ReadData (double *Data, FBTime pTime) 
  Read data from animation node. More...
 
  
bool  ReadData (double *Data) &lt;/PRE&gt;&lt;P&gt;I guess&amp;nbsp;I hit the ultimate brick wall..&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 08:49:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-to-get-animation-node-data/m-p/6339674#M2750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T08:49:59Z</dc:date>
    </item>
  </channel>
</rss>

