<?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: Set Support Path Position with lisp? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171234#M81308</link>
    <description>&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2019 06:16:09 GMT</pubDate>
    <dc:creator>DC-MWA</dc:creator>
    <dc:date>2019-11-28T06:16:09Z</dc:date>
    <item>
      <title>Set Support Path Position with lisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171129#M81306</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Happy thanksgiving!!&lt;/P&gt;&lt;P&gt;I have a cool lisp that sets up support paths.&amp;nbsp; I need to set one of the paths to be at the top of the list. The program does not remove or mess with the existing support paths in any way.&lt;/P&gt;&lt;P&gt;See the image from what I'm trying to achieve. I need the "C:\mwa-support\bin\resources" path 1st in line as shown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 469px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/702286i16EFB506D427CA42/image-dimensions/469x613?v=v2" width="469" height="613" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, lisp is attached.&lt;/P&gt;&lt;P&gt;I'm hoping someone has done this before and can point me in the right direction.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 04:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171129#M81306</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2019-11-28T04:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Support Path Position with lisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171191#M81307</link>
      <description>&lt;P&gt;One way is to reset the path values.&lt;/P&gt;
&lt;PRE&gt;(defun c:DO_AddSupportPath (/ path files pathlist)
(vl-load-com)

(setq path (strcat
";C:\\mwa-support\\bin\\apps"
";C:\\mwa-support\\bin\\lsp"
";C:\\mwa-support\\bin\\resources"
";C:\\mwa-support\\bin\\lsp\\mw electrical"
";C:\\mwa-support\\bin\\lsp\\mwa-ada"
";C:\\mwa-support\\bin\\lsp\\mwa-site"
";C:\\mwa-support\\bin\\resources\\pats"
";C:\\MWA-Support\\mwa-details\\00 Gen\\title sheets\\Agencies"
";C:\\mwa-support\\mwa-details\\10 site"
";C:\\mwa-support\\mwa-details\\20 floor plan"
";C:\\mwa-support\\mwa-details\\30 enlarged fp"
";C:\\mwa-support\\mwa-details\\40 roof"
";C:\\mwa-support\\mwa-details\\50 exterior"
";C:\\mwa-support\\mwa-details\\60 clgs-sections"
";C:\\mwa-support\\mwa-details\\70 door_window"
";C:\\mwa-support\\mwa-details\\80 interiors"
";C:\\Users\\Owner\\desktop")
)
(setq files (vla-get-files
(vla-get-preferences
(vlax-get-acad-object)
)
)
)
;get the current path list
(setq clist (vlax-get-property files 'SupportPath))
(setq clist (strcat &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;"C:\\mwa-support\\bin\\resources;"&lt;/STRONG&gt;&lt;/FONT&gt; clist path))

(vlax-put-property files 'SupportPath clist)
(princ)
);end DO_AddSupportPath
&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Nov 2019 05:19:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171191#M81307</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2019-11-28T05:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Support Path Position with lisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171234#M81308</link>
      <description>&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 06:16:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171234#M81308</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2019-11-28T06:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Support Path Position with lisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171236#M81309</link>
      <description>&lt;PRE&gt;(defun c:DO_AddSupportPath (/ path files pathlist)
(vl-load-com)

(setq path (strcat
";C:\\mwa-support\\bin\\apps"
";C:\\mwa-support\\bin\\lsp"
";C:\\mwa-support\\bin\\resources"
";C:\\mwa-support\\bin\\lsp\\mw electrical"
";C:\\mwa-support\\bin\\lsp\\mwa-ada"
";C:\\mwa-support\\bin\\lsp\\mwa-site"
";C:\\mwa-support\\bin\\resources\\pats"
";C:\\MWA-Support\\mwa-details\\00 Gen\\title sheets\\Agencies"
";C:\\mwa-support\\mwa-details\\10 site"
";C:\\mwa-support\\mwa-details\\20 floor plan"
";C:\\mwa-support\\mwa-details\\30 enlarged fp"
";C:\\mwa-support\\mwa-details\\40 roof"
";C:\\mwa-support\\mwa-details\\50 exterior"
";C:\\mwa-support\\mwa-details\\60 clgs-sections"
";C:\\mwa-support\\mwa-details\\70 door_window"
";C:\\mwa-support\\mwa-details\\80 interiors"
";C:\\Users\\Owner\\desktop")
)
(setq files (vla-get-files
(vla-get-preferences
(vlax-get-acad-object)
)
)
)
(setq pathlist (vla-get-supportpath files))
(if (not (vl-string-search path pathlist))
(vla-put-supportpath files (strcat "C:\\mwa-support\\bin\\resources;" pathlist path))
)
(princ)
);end DO_AddSupportPath&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Nov 2019 06:17:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/set-support-path-position-with-lisp/m-p/9171236#M81309</guid>
      <dc:creator>dlanorh</dc:creator>
      <dc:date>2019-11-28T06:17:59Z</dc:date>
    </item>
  </channel>
</rss>

