<?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 Dialog Box not showing up in MEP 2019 in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dialog-box-not-showing-up-in-mep-2019/m-p/7990281#M105171</link>
    <description>&lt;P&gt;i just upgraded to MEP 2019 and now my dialog boxes are not showing up, they worked fine in the previous releases, and now aren't showing up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the routine i have been using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;;; This code is use to break multiple lines at intersection with another lines&lt;/P&gt;&lt;P&gt;;; with an option of just break a line or leave a gap in between.&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;(defun C:MBREAK (/ P1 P2 P3 P4 P5 P6 P7 SS1 SS2 INDEX1 INDEX2 ENAME1 ENAME2 ELIST1 ELIST2 BRKLEN OFFDISDAT)&lt;/P&gt;&lt;P&gt;(setq OSMDE (getvar "osmode"))&lt;/P&gt;&lt;P&gt;(setvar "osmode" 0)&lt;/P&gt;&lt;P&gt;(setq PCKBX (getvar "pickbox"))&lt;/P&gt;&lt;P&gt;(setq OFFDISDAT (getstring (strcat "\nSpecify offset distance from intersections: &amp;lt;" OFFDISNUM "&amp;gt;: ")))&lt;/P&gt;&lt;P&gt;(if (/= OFFDISDAT "")&lt;/P&gt;&lt;P&gt;(setq OFFDISNUM OFFDISDAT)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq BRKLEN (atof OFFDISNUM))&lt;/P&gt;&lt;P&gt;(prompt "\nSelect breaking lines ...")&lt;/P&gt;&lt;P&gt;(while (or (not SS1) (= 0 (sslength SS1)))&lt;/P&gt;&lt;P&gt;(setq SS1 (ssget '((0 . "LINE"))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX1 0)&lt;/P&gt;&lt;P&gt;(repeat (sslength SS1)&lt;/P&gt;&lt;P&gt;(progn&lt;/P&gt;&lt;P&gt;(setq ENAME1 (ssname SS1 INDEX1))&lt;/P&gt;&lt;P&gt;(setq ELIST1 (entget ENAME1))&lt;/P&gt;&lt;P&gt;(setq P1 (cdr (assoc 10 ELIST1)))&lt;/P&gt;&lt;P&gt;(setq P2 (cdr (assoc 11 ELIST1)))&lt;/P&gt;&lt;P&gt;(prompt "\nSelect lines that intersect …")&lt;/P&gt;&lt;P&gt;(while (or (not SS2) (= 0 (sslength SS2)))&lt;/P&gt;&lt;P&gt;(setq SS2 (ssget '((0 . "LINE"))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX2 0)&lt;/P&gt;&lt;P&gt;(repeat (sslength SS2)&lt;/P&gt;&lt;P&gt;(progn&lt;/P&gt;&lt;P&gt;(setq ENAME2 (ssname SS2 INDEX2))&lt;/P&gt;&lt;P&gt;(setq ELIST2 (entget ENAME2))&lt;/P&gt;&lt;P&gt;(setq P3 (cdr (assoc 10 ELIST2)))&lt;/P&gt;&lt;P&gt;(setq P4 (cdr (assoc 11 ELIST2)))&lt;/P&gt;&lt;P&gt;(setq P5 (inters P1 P2 P3 P4 onseg))&lt;/P&gt;&lt;P&gt;(setq P6 (polar P5 (angle P3 P4) BRKLEN))&lt;/P&gt;&lt;P&gt;(setq P7 (polar P5 (angle P4 P3) BRKLEN))&lt;/P&gt;&lt;P&gt;(command "draworder" ENAME2 "" "F")&lt;/P&gt;&lt;P&gt;(if (= BRKLEN 0)&lt;/P&gt;&lt;P&gt;(command "break" P5 "@")&lt;/P&gt;&lt;P&gt;(command "break" P6 "none" P7)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX2 (1+ INDEX2))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX1 (1+ INDEX1))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setvar "osmode" OSMDE)&lt;/P&gt;&lt;P&gt;(princ (strcat "\n" (itoa (sslength SS2)) " Lines have been broken"))&lt;/P&gt;&lt;P&gt;(princ)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq OFFDISNUM "0")&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;I use this all the time and would like to get my dialog boxes back, as there are more options available then what shows up on the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 14:36:18 GMT</pubDate>
    <dc:creator>tstverak</dc:creator>
    <dc:date>2018-05-09T14:36:18Z</dc:date>
    <item>
      <title>Dialog Box not showing up in MEP 2019</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dialog-box-not-showing-up-in-mep-2019/m-p/7990281#M105171</link>
      <description>&lt;P&gt;i just upgraded to MEP 2019 and now my dialog boxes are not showing up, they worked fine in the previous releases, and now aren't showing up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the routine i have been using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;;; This code is use to break multiple lines at intersection with another lines&lt;/P&gt;&lt;P&gt;;; with an option of just break a line or leave a gap in between.&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;(defun C:MBREAK (/ P1 P2 P3 P4 P5 P6 P7 SS1 SS2 INDEX1 INDEX2 ENAME1 ENAME2 ELIST1 ELIST2 BRKLEN OFFDISDAT)&lt;/P&gt;&lt;P&gt;(setq OSMDE (getvar "osmode"))&lt;/P&gt;&lt;P&gt;(setvar "osmode" 0)&lt;/P&gt;&lt;P&gt;(setq PCKBX (getvar "pickbox"))&lt;/P&gt;&lt;P&gt;(setq OFFDISDAT (getstring (strcat "\nSpecify offset distance from intersections: &amp;lt;" OFFDISNUM "&amp;gt;: ")))&lt;/P&gt;&lt;P&gt;(if (/= OFFDISDAT "")&lt;/P&gt;&lt;P&gt;(setq OFFDISNUM OFFDISDAT)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq BRKLEN (atof OFFDISNUM))&lt;/P&gt;&lt;P&gt;(prompt "\nSelect breaking lines ...")&lt;/P&gt;&lt;P&gt;(while (or (not SS1) (= 0 (sslength SS1)))&lt;/P&gt;&lt;P&gt;(setq SS1 (ssget '((0 . "LINE"))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX1 0)&lt;/P&gt;&lt;P&gt;(repeat (sslength SS1)&lt;/P&gt;&lt;P&gt;(progn&lt;/P&gt;&lt;P&gt;(setq ENAME1 (ssname SS1 INDEX1))&lt;/P&gt;&lt;P&gt;(setq ELIST1 (entget ENAME1))&lt;/P&gt;&lt;P&gt;(setq P1 (cdr (assoc 10 ELIST1)))&lt;/P&gt;&lt;P&gt;(setq P2 (cdr (assoc 11 ELIST1)))&lt;/P&gt;&lt;P&gt;(prompt "\nSelect lines that intersect …")&lt;/P&gt;&lt;P&gt;(while (or (not SS2) (= 0 (sslength SS2)))&lt;/P&gt;&lt;P&gt;(setq SS2 (ssget '((0 . "LINE"))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX2 0)&lt;/P&gt;&lt;P&gt;(repeat (sslength SS2)&lt;/P&gt;&lt;P&gt;(progn&lt;/P&gt;&lt;P&gt;(setq ENAME2 (ssname SS2 INDEX2))&lt;/P&gt;&lt;P&gt;(setq ELIST2 (entget ENAME2))&lt;/P&gt;&lt;P&gt;(setq P3 (cdr (assoc 10 ELIST2)))&lt;/P&gt;&lt;P&gt;(setq P4 (cdr (assoc 11 ELIST2)))&lt;/P&gt;&lt;P&gt;(setq P5 (inters P1 P2 P3 P4 onseg))&lt;/P&gt;&lt;P&gt;(setq P6 (polar P5 (angle P3 P4) BRKLEN))&lt;/P&gt;&lt;P&gt;(setq P7 (polar P5 (angle P4 P3) BRKLEN))&lt;/P&gt;&lt;P&gt;(command "draworder" ENAME2 "" "F")&lt;/P&gt;&lt;P&gt;(if (= BRKLEN 0)&lt;/P&gt;&lt;P&gt;(command "break" P5 "@")&lt;/P&gt;&lt;P&gt;(command "break" P6 "none" P7)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX2 (1+ INDEX2))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq INDEX1 (1+ INDEX1))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setvar "osmode" OSMDE)&lt;/P&gt;&lt;P&gt;(princ (strcat "\n" (itoa (sslength SS2)) " Lines have been broken"))&lt;/P&gt;&lt;P&gt;(princ)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(setq OFFDISNUM "0")&lt;/P&gt;&lt;P&gt;;;==========================================================================&lt;/P&gt;&lt;P&gt;I use this all the time and would like to get my dialog boxes back, as there are more options available then what shows up on the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:36:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dialog-box-not-showing-up-in-mep-2019/m-p/7990281#M105171</guid>
      <dc:creator>tstverak</dc:creator>
      <dc:date>2018-05-09T14:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Box not showing up in MEP 2019</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dialog-box-not-showing-up-in-mep-2019/m-p/7990311#M105172</link>
      <description>&lt;P&gt;Are you sure that you post the right lisp cause there is noting in this code that opens a dialog box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:47:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dialog-box-not-showing-up-in-mep-2019/m-p/7990311#M105172</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2018-05-09T14:47:05Z</dc:date>
    </item>
  </channel>
</rss>

