<?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 Data block outside of a node in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/data-block-outside-of-a-node/m-p/8316630#M9020</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the compute callback of a node you have access to the data block (for example mesh data). I want to write a command which does access data blocks for different nodes to evaluate mesh data (normals and so on). Is this possible in Maya Api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course there are mel commands which can access all data like normals, vertex, faces. But they access only the data from the last mesh node in the Dependency Graph. Is there a possibility to access normals, vertex and faces from other nodes of the Dependency Graph in the context of a command? Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 21:43:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-05T21:43:27Z</dc:date>
    <item>
      <title>Data block outside of a node</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/data-block-outside-of-a-node/m-p/8316630#M9020</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the compute callback of a node you have access to the data block (for example mesh data). I want to write a command which does access data blocks for different nodes to evaluate mesh data (normals and so on). Is this possible in Maya Api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course there are mel commands which can access all data like normals, vertex, faces. But they access only the data from the last mesh node in the Dependency Graph. Is there a possibility to access normals, vertex and faces from other nodes of the Dependency Graph in the context of a command? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 21:43:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/data-block-outside-of-a-node/m-p/8316630#M9020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-05T21:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data block outside of a node</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/data-block-outside-of-a-node/m-p/8317065#M9021</link>
      <description>&lt;P&gt;Perhaps you can use the MPlug.getValue() function for this case? Has someone experience, how you can extract the faces, edges&amp;nbsp; and normals from the return value of getValue()?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 10:11:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/data-block-outside-of-a-node/m-p/8317065#M9021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-06T10:11:45Z</dc:date>
    </item>
  </channel>
</rss>

