<?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: Workflow in Lisp in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3538356#M1993</link>
    <description>&lt;P&gt;I would break the lip into two defuns. with the second being called inside the workflow afer everything else is done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;(Defun&amp;nbsp; part1 ()&lt;/P&gt;&lt;P&gt;(command "mapworkflowbatchrun" "myfile")&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(Defun part2 ( )&lt;/P&gt;&lt;P&gt;Do the rest of lisp&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Then in the workflow add the function/command "part2"&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2012 22:05:35 GMT</pubDate>
    <dc:creator>Murph_Map</dc:creator>
    <dc:date>2012-07-13T22:05:35Z</dc:date>
    <item>
      <title>Workflow in Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3538162#M1992</link>
      <description>&lt;P&gt;I am trying to run a workflow within a lisp program.&lt;/P&gt;&lt;P&gt;I am using a command function such as:&lt;/P&gt;&lt;P&gt;(command "mapworkflowbatchrun" "myfile")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then I have some other commands after that.&amp;nbsp; The problem is the lisp program skips ahead to the other autocad commands before the workflow is finished running.&amp;nbsp; How do I get the program to complete the above command to run the workflow, before moving on to the next lines in the program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 19:07:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3538162#M1992</guid>
      <dc:creator>cjneper</dc:creator>
      <dc:date>2012-07-13T19:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow in Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3538356#M1993</link>
      <description>&lt;P&gt;I would break the lip into two defuns. with the second being called inside the workflow afer everything else is done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;(Defun&amp;nbsp; part1 ()&lt;/P&gt;&lt;P&gt;(command "mapworkflowbatchrun" "myfile")&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(Defun part2 ( )&lt;/P&gt;&lt;P&gt;Do the rest of lisp&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Then in the workflow add the function/command "part2"&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 22:05:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3538356#M1993</guid>
      <dc:creator>Murph_Map</dc:creator>
      <dc:date>2012-07-13T22:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow in Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3539916#M1994</link>
      <description>&lt;P&gt;Thanks for the suggestion.&amp;nbsp; I tried breaking up the program into subprograms like you said, but lisp still wants to jump ahead to the subroutines before completing the workflow.&lt;/P&gt;&lt;P&gt;Lisp does not like workflows apparently.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 16:29:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/workflow-in-lisp/m-p/3539916#M1994</guid>
      <dc:creator>cjneper</dc:creator>
      <dc:date>2012-07-16T16:29:49Z</dc:date>
    </item>
  </channel>
</rss>

