<?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: MLockMessage.setNodeLockQueryCallback : callback runs after the event in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/mlockmessage-setnodelockquerycallback-callback-runs-after-the/m-p/4019786#M17603</link>
    <description>Yes I think that Callback is used for eg, you delete a node and a window will come up saying you have deleted a node.</description>
    <pubDate>Sat, 05 Jul 2008 03:24:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-05T03:24:28Z</dc:date>
    <item>
      <title>MLockMessage.setNodeLockQueryCallback : callback runs after the event</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mlockmessage-setnodelockquerycallback-callback-runs-after-the/m-p/4019785#M17602</link>
      <description>Maybe I just didn't understand what these callbacks are for.&lt;BR /&gt;I was expecting the registered callback would run before the actual execution of the event that triggered it, but it's running after.&lt;BR /&gt;For instance, if I try to delete a node, the callback would be triggered and would allow or deny the deletion of the node.&lt;BR /&gt;Well, it's a little more complicated that that but that's the overall idea.&lt;BR /&gt;Isn't that what the callbacks are for?&lt;BR /&gt;What I'm getting is the node gets deleted, then the callback run, and it run 4 times, evidenced by 4 sets of textual output.&lt;BR /&gt;&lt;BR /&gt;I tried setting the callbacks via Python plugins as well as via the Python script editor (using the same API).&lt;BR /&gt;I haven't tried the C++ API yet.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;dado</description>
      <pubDate>Fri, 04 Jul 2008 08:37:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mlockmessage-setnodelockquerycallback-callback-runs-after-the/m-p/4019785#M17602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-04T08:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: MLockMessage.setNodeLockQueryCallback : callback runs after the event</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mlockmessage-setnodelockquerycallback-callback-runs-after-the/m-p/4019786#M17603</link>
      <description>Yes I think that Callback is used for eg, you delete a node and a window will come up saying you have deleted a node.</description>
      <pubDate>Sat, 05 Jul 2008 03:24:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mlockmessage-setnodelockquerycallback-callback-runs-after-the/m-p/4019786#M17603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-05T03:24:28Z</dc:date>
    </item>
  </channel>
</rss>

