{"id":478,"date":"2015-12-08T10:16:28","date_gmt":"2015-12-08T10:16:28","guid":{"rendered":"http:\/\/blog.idesglobal.com\/?p=478"},"modified":"2015-12-08T10:16:28","modified_gmt":"2015-12-08T10:16:28","slug":"configuring-the-batch-function-menu","status":"publish","type":"post","link":"https:\/\/blog.idesglobal.com\/index.php\/2015\/12\/08\/configuring-the-batch-function-menu\/","title":{"rendered":"Configuring the Batch-function menu"},"content":{"rendered":"<div>The <em>Batch-function<\/em> menu in MasterExplorer is configurable and you can easily add your Lsp scripts to it.<\/div>\n<div><\/div>\n<div>\n<div id=\"attachment_500\" style=\"width: 278px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blog.idesglobal.com\/wp-content\/uploads\/2015\/12\/batch-function_eng.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-500\" class=\"wp-image-500 size-medium\" src=\"http:\/\/blog.idesglobal.com\/wp-content\/uploads\/2015\/12\/batch-function_eng1-268x300.png\" alt=\"Batch-function\" width=\"268\" height=\"300\" \/><\/a><p id=\"caption-attachment-500\" class=\"wp-caption-text\">Batch-function<\/p><\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div>The configuration is held in LSPsettings.xml which is located together with your Lsp script files in the \\Scripts\\Lsp folder at your IdesFileServer. Below is an extract showing the configuration for one script file.<\/div>\n<div><\/div>\n<p style=\"padding-left: 30px;\"><code> &lt;LispFunctionSetting&gt;<br \/>\n&lt;FileName&gt;UPDATE&lt;\/FileName&gt;<br \/>\n&lt;Description&gt;Update from database&lt;\/Description&gt;<br \/>\n&lt;CheckOut&gt;true&lt;\/CheckOut&gt;<br \/>\n&lt;ShortCut&gt;true&lt;\/ShortCut&gt;<br \/>\n&lt;\/LispFunctionSetting&gt;<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><strong>FileName<\/strong> is the name of the file without extension. Extension of the file must be .lsp as that is the only supported extension.<\/p>\n<p><strong>Shortcut<\/strong> determines wether it will be shown in the right menu.<\/p>\n<p><strong>Description<\/strong> is the text presented to the user.<\/p>\n<p><strong>CheckOut<\/strong> determines if the documents will be checked out and in by the batch engine.<\/p>\n<p>The setting that deserves the most attention is the CheckOut flag. Consider what your script file does and set the flag accordingly. After the batch engine checks the drawing out and performs the batch actions it will check the drawing in again. In the case you&#8217;ve got project management the check in will be project logged.<\/p>\n<p>It is quite common that batch functions are used to plot and in that case it is often prefereable not to check the drawings out. If set true the batch engine will halt on error if your batch cointains drawings that are not allowed to be checked out. Reasons to not allow check out could be that the drawing is approved or in the case of project management that the drawing is currently involved in a project other than the users active project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Batch-function menu in MasterExplorer is configurable and you can easily add your Lsp scripts to it. The configuration is held in LSPsettings.xml which is located together with your Lsp script files in the \\Scripts\\Lsp folder at your IdesFileServer. Below is an extract showing the configuration for one script file. &lt;LispFunctionSetting&gt; &lt;FileName&gt;UPDATE&lt;\/FileName&gt; &lt;Description&gt;Update from database&lt;\/Description&gt; [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[32,34,45,57,60],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-support","tag-batch-function","tag-configuration","tag-elmaster-design","tag-lspsettings-xml","tag-masterexplorer"],"_links":{"self":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":0,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}