<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Formula</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Formula]]></description>
  <pubDate>Sun, 06 Sep 2026 09:08:30 +0000</pubDate>
  <lastBuildDate>Sat, 06 Nov 2010 12:40:59 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=4710</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Formula : Thanks a lot for reply me and...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11722&amp;title=formula#11722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=134168">shaikh</a><br /><strong>Subject:</strong> 4710<br /><strong>Posted:</strong> 06.Nov.2010 at 12:40<br /><br />Thanks a lot for reply me and your reply is Ok,but my question is that if we have DWG in model space of different sections and these sections scale is 1:20 then we give scale factor in DIM type 0.400.So how it will come because I have a DWG like that.I will wait for your reponse.]]>
   </description>
   <pubDate>Sat, 06 Nov 2010 12:40:59 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11722&amp;title=formula#11722</guid>
  </item> 
  <item>
   <title><![CDATA[Formula : If I understood your question... If...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11711&amp;title=formula#11711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=73469">CarlB</a><br /><strong>Subject:</strong> 4710<br /><strong>Posted:</strong> 04.Nov.2010 at 23:55<br /><br />If I understood your question...<DIV>If you want to decrease a scale by a factor of 20, you have 2 ways you could enter this on the command line;</DIV><DIV>1- use a calculator, 1/20 =.05. So enter ".05" for the scale</DIV><DIV>2-You can enter ratios of whole nubers on the command line; so for the scale enter "1/20"</DIV><DIV>&nbsp;</DIV><DIV>But....the golden rule of cad drawings is to draw ebverything real worls scale. Its's only when you put drawing to paper (or pdf) that you need a drawing scaled, so you handle this with plot scales, or better by plotting from paperspace, with a scaled viewport showing modelspace objects.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Nov 2010 23:55:42 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11711&amp;title=formula#11711</guid>
  </item> 
  <item>
   <title><![CDATA[Formula : Very easy. The display of the...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11706&amp;title=formula#11706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=145457">linhoreka</a><br /><strong>Subject:</strong> 4710<br /><strong>Posted:</strong> 04.Nov.2010 at 14:42<br /><br />Very easy. The display of the dimension is control by 2 variables: <b>Dimscale</b> and <b>Dimlfac</b>. <b>Dimscale</b> is the scale of the text and arrows. The <b>Dimlfac&nbsp;</b>(dimline factor) control the dimline value. With Dimlfac = 20, the line of 100 length would be dim as 2000. With Dimlfac = 1/20 = 0.05, the line of 100 length would be dim as 5.<div>Here is 2 useful lisps to control these 2 variables, avoiding create new dimstype each time you want to change their values:</div><div><br></div><div><br></div><div>;1. Copy these following lisp lines (in blue text) to an empty lisp file. Save it in any name as you like</div><div>;2. Load the file to AutoCAD (better put them in StartUp list if you find it is useful)</div><div>;In AutoCAD command line: type "dsc" for Dimscale setting, "df" for DimlFac setting command</div><div>;Cheer :)</div><div><br></div><div><br></div><div><font ="Apple-style-span" color="#0000FF">;DSC AND DF COMMANDS FOR ADJUSTING SILENTLY DIMSCALE AND DIMLFACT VARIABLES</font></div><div><div><font ="Apple-style-span" color="#0000FF">;++++++++ DF DIMLFAC++++++++++++</font></div><div><font ="Apple-style-span" color="#0000FF">(defun C:df (/ dimlf odf)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq odf (getvar "dimlfac"))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setvar "cmdecho" 0)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(prompt (strcat "The current Dimlfac is " (rtos odf 2 5)))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(initget 128)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq dimlf (getreal "\nEnter DimlinearFactor &lt;or press any keyboard to get dimension style from object&gt; &nbsp;"))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(if dimlf</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;(if (numberp dimlf)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(setvar "dimlfac" dimlf)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(restoreDimstyle)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(princ)</font></div><div><font ="Apple-style-span" color="#0000FF">);end defun</font></div><div><font ="Apple-style-span" color="#0000FF">;++++++++DSC DIMSCALE+++</font></div><div><font ="Apple-style-span" color="#0000FF">(defun C:dsc (/ dimsc ods)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setvar "cmdecho" 0)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq ods (getvar "dimscale")) &nbsp;</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(prompt (strcat "The current Dimscale is " (rtos ods 2 5)))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(initget 128)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(prompt "\nDimscale standard value should be one of the following values: 1, 2, 5, 10, 20, 25, 50, 100, 200, 500, 1000, 2000 ...")</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(Setq dimsc (getreal (strcat "\nEnter the Dimlinear Scale &lt;" (rtos ods 2 5) "&gt;&lt;or press keyboard to get the dimension style from object&gt; &nbsp;")))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(if dimsc</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;(if (numberp dimsc)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(setvar "dimscale" dimsc)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(restoreDimstyle)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setvar "LTSCALE" (getvar "DIMSCALE"))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(princ)</font></div><div><font ="Apple-style-span" color="#0000FF">);end defun</font></div><div><font ="Apple-style-span" color="#0000FF"><br></font></div><div><font ="Apple-style-span" color="#0000FF"><br></font></div><div><font ="Apple-style-span" color="#0000FF">(defun restoreDimstyle (/ dimlf dimsc e el en)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq e (car(entsel)))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(if (null e)(exit))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq&nbsp;</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font ="Apple-style-span" color="#0000FF">	</font></span><font ="Apple-style-span" color="#0000FF">el (entget e)</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font ="Apple-style-span" color="#0000FF">	</font></span><font ="Apple-style-span" color="#0000FF">en (cdr(assoc 0 el))</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font ="Apple-style-span" color="#0000FF">	</font></span><font ="Apple-style-span" color="#0000FF">)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(if (or (= en "DIMENSION")(= en "LEADER"))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;(progn</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(command "-dimstyle" "restore" "" e)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;(graphscr)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp; &nbsp;)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;(prompt "No dimension selected") &nbsp; &nbsp;</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;)</font><span ="Apple-tab-span" style="white-space:pre"><font ="Apple-style-span" color="#0000FF">	</font></span></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(setq dimlf (getvar "dimlfac")</font></div><div><span ="Apple-tab-span" style="white-space:pre"><font ="Apple-style-span" color="#0000FF">	</font></span><font ="Apple-style-span" color="#0000FF">dimsc (getvar "dimscale"))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(prompt (strcat "\nThe current Dimlfac is " (rtos dimlf 2 5)))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(prompt (strcat "\nThe current Dimscale is " (rtos dimsc 2 5)))</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;(princ)</font></div><div><font ="Apple-style-span" color="#0000FF">&nbsp;&nbsp;);end defun</font></div></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 04 Nov 2010 14:42:49 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11706&amp;title=formula#11706</guid>
  </item> 
  <item>
   <title><![CDATA[Formula : Dear All If we want a scale 1:20...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11700&amp;title=formula#11700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=134168">shaikh</a><br /><strong>Subject:</strong> 4710<br /><strong>Posted:</strong> 04.Nov.2010 at 06:58<br /><br />Dear All<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If we want a scale 1:20 then through scale command we only give 20<br>so after this if we have line=100 its length will be 2000.But the question is that I want the scale 20 times to decrease.For this how much scale I will give and what is the formula to calculate this.Please guide me in this matter. <br>]]>
   </description>
   <pubDate>Thu, 04 Nov 2010 06:58:38 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4710&amp;PID=11700&amp;title=formula#11700</guid>
  </item> 
 </channel>
</rss>