view Resources/Samples/Lua/Autorouting.lua @ 998:4136fab6a639 lua-scripting

callback on stored instance
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jul 2014 18:30:23 +0200
parents
children b067017a8a5b
line wrap: on
line source

function OnStoredInstance(tags, instance)
  PrintRecursive(tags)
  return { 
    { "store", instance, "pacs" }, 
    { "delete", instance } 
  }
end