<?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: Modify  Elevation Lisp w/DCL (ModZ) in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6867746#M124108</link>
    <description>&lt;P&gt;Very nicely done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also declare all your variables including the subroutine &lt;SPAN&gt;saveVars&amp;nbsp;&lt;/SPAN&gt;local only to be used with this modz function like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun c:modz (/ dcl_id flag saveVars ss ssi)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;(defun saveVars(/ Elv)&lt;BR /&gt;&amp;nbsp; (setq Elv(distof(get_tile "Elv")))&lt;BR /&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The next thing to try would be to include in the lisp function a routine to write the dcl file on the fly to the temp folder location (getenv"temp"). &amp;nbsp;Then have a routine to load the dcl from this temp folder location and after the routine is complete, delete the dcl file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep at it.....you're doing really well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3aareaobjectlink_windows32and64%3aen" target="_blank"&gt;Area Object Link&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addattmod_windows32and64%3aen" target="_blank"&gt;Attribute Modifier&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addsetup_windows32and64%3aen" target="_blank"&gt;Dwg Setup&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addcalc_windows32and64%3aen" target="_blank"&gt;Feet-Inch Calculator &lt;/A&gt;&lt;SPAN style="font-family: Arial,sans-serif; text-shadow: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3alayerapps_windows32and64%3aen" target="_blank"&gt;Layer Apps&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addlist_windows32and64%3aen" target="_blank"&gt;List on Steroids&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addzmscl_windows32and64%3aen" target="_blank"&gt;VP Zoom Scales&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 00:47:06 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2017-02-10T00:47:06Z</dc:date>
    <item>
      <title>Modify  Elevation Lisp w/DCL (ModZ)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6845793#M124106</link>
      <description>&lt;P&gt;While learning DCL I created this lisp &amp;amp; DCL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It allows you to modify the elevation. It gives you the ability to select objects or modify everything.&lt;/P&gt;&lt;P&gt;I searched to see if anything similar existed but I didnt find anything, so I wanted to share with the community. Maybe you will find it useful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its based on something I use frequently in MicroStation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Constructive criticism is welcome!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 12:46:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6845793#M124106</guid>
      <dc:creator>Jonathan3891</dc:creator>
      <dc:date>2017-02-01T12:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  Elevation Lisp w/DCL (ModZ)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6853706#M124107</link>
      <description>&lt;P&gt;I am thrilled to see you mastering the use of AutoLisp with DCL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for some constructive criticism, I wonder about your use of the symbol Elv. &amp;nbsp;It seems to be a string, but then your SaveVars function converts it into a real, but then since it is local to SaveVars, it is not really saved at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, since I am a little ignorant, I didn't realize that the Change command can accept a string as a real. &amp;nbsp;Thank you for demonstrating that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now to be really picky, I don't like your use of the symbol name "flag." &amp;nbsp;I prefer to name the result of (done_dialog) as "action" with "flag' reserved for something like the 70 code for a layer entity. &amp;nbsp;Hey, whatever with which you are comfortable is really what counts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2017 01:54:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6853706#M124107</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2017-02-04T01:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  Elevation Lisp w/DCL (ModZ)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6867746#M124108</link>
      <description>&lt;P&gt;Very nicely done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also declare all your variables including the subroutine &lt;SPAN&gt;saveVars&amp;nbsp;&lt;/SPAN&gt;local only to be used with this modz function like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun c:modz (/ dcl_id flag saveVars ss ssi)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;(defun saveVars(/ Elv)&lt;BR /&gt;&amp;nbsp; (setq Elv(distof(get_tile "Elv")))&lt;BR /&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The next thing to try would be to include in the lisp function a routine to write the dcl file on the fly to the temp folder location (getenv"temp"). &amp;nbsp;Then have a routine to load the dcl from this temp folder location and after the routine is complete, delete the dcl file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep at it.....you're doing really well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3aareaobjectlink_windows32and64%3aen" target="_blank"&gt;Area Object Link&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addattmod_windows32and64%3aen" target="_blank"&gt;Attribute Modifier&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addsetup_windows32and64%3aen" target="_blank"&gt;Dwg Setup&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addcalc_windows32and64%3aen" target="_blank"&gt;Feet-Inch Calculator &lt;/A&gt;&lt;SPAN style="font-family: Arial,sans-serif; text-shadow: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3alayerapps_windows32and64%3aen" target="_blank"&gt;Layer Apps&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addlist_windows32and64%3aen" target="_blank"&gt;List on Steroids&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addzmscl_windows32and64%3aen" target="_blank"&gt;VP Zoom Scales&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 00:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/modify-elevation-lisp-w-dcl-modz/m-p/6867746#M124108</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2017-02-10T00:47:06Z</dc:date>
    </item>
  </channel>
</rss>

