static void Exportlabelfile(Args _args)
{
#AOT
#Properties
TreeNodeIterator templateNodes,templateNodes1;
TreeNode templateNode,templateNode1;
name name;
#define.test(@"\Label Files")
#define.Back(@"\")
#define.Languages("Languages")
SysDictWorkflowType template;
SysLabelFileExportOKN export=new SysLabelFileExportOKN();
;
templateNodes = TreeNode::findNode(#test).AOTiterator();
templateNode = templateNodes.next();
while (templateNode)
{
if(templateNode.AOTLayer() == Global::currentAOLayer())
{
name = #test + #back + templatenode.aotname()+ #back +#Languages;
templatenodes1 = treenode::findnode(name).aotiterator();
templatenode1 = templatenodes1.next();
while(templatenode1)
{
export.parmtreenode(templatenode1);
export.run();
templatenode1 = templatenodes1.next();
}
}
templateNode = templateNodes.next();
}
}
{
#AOT
#Properties
TreeNodeIterator templateNodes,templateNodes1;
TreeNode templateNode,templateNode1;
name name;
#define.test(@"\Label Files")
#define.Back(@"\")
#define.Languages("Languages")
SysDictWorkflowType template;
SysLabelFileExportOKN export=new SysLabelFileExportOKN();
;
templateNodes = TreeNode::findNode(#test).AOTiterator();
templateNode = templateNodes.next();
while (templateNode)
{
if(templateNode.AOTLayer() == Global::currentAOLayer())
{
name = #test + #back + templatenode.aotname()+ #back +#Languages;
templatenodes1 = treenode::findnode(name).aotiterator();
templatenode1 = templatenodes1.next();
while(templatenode1)
{
export.parmtreenode(templatenode1);
export.run();
templatenode1 = templatenodes1.next();
}
}
templateNode = templateNodes.next();
}
}
No comments:
Post a Comment