<?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 DYNAMICALLY CHANGING INPUT VALUES in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamically-changing-input-values/m-p/5524765#M143532</link>
    <description>&lt;P&gt;PLEASE HELP ME TO MAKE THIS CODE CORRECT , I WOULD WORK IN METERS WHILE CHANGING THE INPUT DISTANCE TO CENTIMETERS OR MILIMITERES&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; PLEASE REPLY SOON ! THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(DeFun C:O (/ OF1 ENTITY)&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(InitGet (+ 2 4) "Through")&lt;BR /&gt;(setq OF1 (getdist (strcat "\nOffset distance or Through &amp;lt;" (If MAN (RToS MAN) "Through") "&amp;gt;: ")))&lt;/P&gt;&lt;P&gt;(cond&lt;BR /&gt;;;; (setq OF2 (/ OF1 100))&lt;BR /&gt;((eq OF1 "Through")(setq MAN nil)) (OF1(setq MAN OF1)))&lt;BR /&gt;&lt;BR /&gt;(setq OF1 (If MAN "\nSide to offset?" "\nThrough point: "))&lt;BR /&gt;(prin1 OF2)&lt;BR /&gt;&lt;BR /&gt;(while&lt;BR /&gt;(and&lt;BR /&gt;(setq ENTITY (entSel "\nSelect object to offset: "))&lt;BR /&gt;(setq PT (getpoint OF1)))&lt;BR /&gt;&lt;BR /&gt;(Command ".OFFSET" (If MAN MAN "T") ENTITY PT ""))&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(PrinC))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2015 08:40:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-02T08:40:27Z</dc:date>
    <item>
      <title>DYNAMICALLY CHANGING INPUT VALUES</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamically-changing-input-values/m-p/5524765#M143532</link>
      <description>&lt;P&gt;PLEASE HELP ME TO MAKE THIS CODE CORRECT , I WOULD WORK IN METERS WHILE CHANGING THE INPUT DISTANCE TO CENTIMETERS OR MILIMITERES&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; PLEASE REPLY SOON ! THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(DeFun C:O (/ OF1 ENTITY)&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(InitGet (+ 2 4) "Through")&lt;BR /&gt;(setq OF1 (getdist (strcat "\nOffset distance or Through &amp;lt;" (If MAN (RToS MAN) "Through") "&amp;gt;: ")))&lt;/P&gt;&lt;P&gt;(cond&lt;BR /&gt;;;; (setq OF2 (/ OF1 100))&lt;BR /&gt;((eq OF1 "Through")(setq MAN nil)) (OF1(setq MAN OF1)))&lt;BR /&gt;&lt;BR /&gt;(setq OF1 (If MAN "\nSide to offset?" "\nThrough point: "))&lt;BR /&gt;(prin1 OF2)&lt;BR /&gt;&lt;BR /&gt;(while&lt;BR /&gt;(and&lt;BR /&gt;(setq ENTITY (entSel "\nSelect object to offset: "))&lt;BR /&gt;(setq PT (getpoint OF1)))&lt;BR /&gt;&lt;BR /&gt;(Command ".OFFSET" (If MAN MAN "T") ENTITY PT ""))&lt;BR /&gt;(setvar "cmdecho" 0)&lt;BR /&gt;(PrinC))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 08:40:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dynamically-changing-input-values/m-p/5524765#M143532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-02T08:40:27Z</dc:date>
    </item>
  </channel>
</rss>

