<?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 fields outside of node core in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100812#M7113</link>
    <description>&lt;P&gt;That is incorrect, sadly. The information in blue, for example is inaccessible (I'm more familiar with the animation part, but there might be other examples out there) . Also note how the node has no attachments other than the Name attachment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 514px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517744i634001AF46ADFBC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it has a secret attachment that mirrors all that data, it doesn't seem to be documented anywhere. I get the following output:&lt;/P&gt;&lt;PRE&gt;# Get one of the animation clips in the scene
root: clip = getAnimClipNodes()[1]

# Dig down to the AnimBlock expanded in the image above
root: interpAnim = clip.getChild(0).getChild(1)

# Print name as sanity check
root: print interpAnim.getName()
InterpAnim

# Select it to view it on the Node Editor
root: selectNode(interpAnim)

# It doesn't show an attachment there. Let's just try our luck anyway
root: print interpAnim.hasAttachment('AnimNode')
False
root: print interpAnim.hasAttachment('AnimBlock')
False
root: print interpAnim.hasAttachment('AnimCurve')
False
root: print interpAnim.hasAttachment('AnimWizClip')
False&lt;/PRE&gt;&lt;P&gt;How should I proceed to obtain the data in blue?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 14:34:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-29T14:34:27Z</dc:date>
    <item>
      <title>Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8097491#M7109</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can access a string field called 'Foo' inside the 'core' container of a node by doing&lt;/P&gt;&lt;PRE&gt;node.fields().getString('Foo')&lt;/PRE&gt;&lt;P&gt;But what about the node's fields that are outside of the core? Some are exposed through the API (like how you can get the Parent field by doing getParent()) but not all are. Is there some trick to it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 12:21:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8097491#M7109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-28T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8099742#M7110</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;no, there is no trick. Most node fields which are important to the user are exposed via the API. You can get the parent, you can also add and remove children, set the active state and get attachments. That should be sufficient.&amp;nbsp;The remaining&amp;nbsp;node fields (flags, externalFlags and index) are internally used and shouldn't be changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 06:35:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8099742#M7110</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-06-29T06:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100330#M7111</link>
      <description>&lt;P&gt;Some of those nodes have very relevant information outside the core though, like the AnimNodes (with AnimBlock core and AnimCurve core, which hold the Flipped/Locked/MotionBlur flags, as well as which animation track they occupy)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 11:56:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100330#M7111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-29T11:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100388#M7112</link>
      <description>&lt;P&gt;That's right, but as I wrote, you can retrieve those information with the "getAttachment" function and further vrFieldAccess processing. All information which doesn't belong to the core can be found in attachments.&lt;/P&gt;
&lt;P&gt;For the structure of a node (and its attachments), have a look at the "Node Editor".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Marcus&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 12:15:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100388#M7112</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-06-29T12:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100812#M7113</link>
      <description>&lt;P&gt;That is incorrect, sadly. The information in blue, for example is inaccessible (I'm more familiar with the animation part, but there might be other examples out there) . Also note how the node has no attachments other than the Name attachment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 514px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517744i634001AF46ADFBC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it has a secret attachment that mirrors all that data, it doesn't seem to be documented anywhere. I get the following output:&lt;/P&gt;&lt;PRE&gt;# Get one of the animation clips in the scene
root: clip = getAnimClipNodes()[1]

# Dig down to the AnimBlock expanded in the image above
root: interpAnim = clip.getChild(0).getChild(1)

# Print name as sanity check
root: print interpAnim.getName()
InterpAnim

# Select it to view it on the Node Editor
root: selectNode(interpAnim)

# It doesn't show an attachment there. Let's just try our luck anyway
root: print interpAnim.hasAttachment('AnimNode')
False
root: print interpAnim.hasAttachment('AnimBlock')
False
root: print interpAnim.hasAttachment('AnimCurve')
False
root: print interpAnim.hasAttachment('AnimWizClip')
False&lt;/PRE&gt;&lt;P&gt;How should I proceed to obtain the data in blue?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 14:34:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8100812#M7113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-29T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8103802#M7114</link>
      <description>&lt;P&gt;Ok, now I got it. I missed that point that you want the fields of an AnimNode. Unfortunately, afaik this is currently not possible. I will create an Bugreport with an improvement request for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:33:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8103802#M7114</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-07-02T07:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get fields outside of node core</title>
      <link>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8104166#M7115</link>
      <description>&lt;P&gt;Ahh, I see.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 10:57:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/get-fields-outside-of-node-core/m-p/8104166#M7115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-02T10:57:39Z</dc:date>
    </item>
  </channel>
</rss>

