<?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 Finding the Scale in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304391#M64355</link>
    <description>How do I find the current drawings scale through VBA? Is it a system variable or what?</description>
    <pubDate>Sat, 12 Apr 2003 12:19:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-04-12T12:19:08Z</dc:date>
    <item>
      <title>Finding the Scale</title>
      <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304391#M64355</link>
      <description>How do I find the current drawings scale through VBA? Is it a system variable or what?</description>
      <pubDate>Sat, 12 Apr 2003 12:19:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304391#M64355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-04-12T12:19:08Z</dc:date>
    </item>
    <item>
      <title>Finding the Scale</title>
      <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304392#M64356</link>
      <description>Well, that depends on how you define the current drawing scale. Many of us&lt;BR /&gt;
determine a "primary" scale factor for modelspace, and use DimScale to hold&lt;BR /&gt;
that value. Although, now that DimScale overrides are more common, I hold&lt;BR /&gt;
the primary scale factor in a dictionary XRecord, and set the override every&lt;BR /&gt;
time the user goes to the Model tab. &lt;BEGINNING to="" ramble=""&gt; Then there is the&lt;BR /&gt;
case of a detail viewport from paperspace that is *not* equal to the primary&lt;BR /&gt;
scale factor used in modelspace directly, in which case the override for&lt;BR /&gt;
DimScale is something different from the "primary" scale factor. Of course,&lt;BR /&gt;
in paperspace the scale is usually 1:1, unless you decide that paperspace&lt;BR /&gt;
scale factor=primary scale factor for linetype scaling and other various&lt;BR /&gt;
reasons (which we did for several years).&lt;BR /&gt;
&lt;BR /&gt;
Does that help? BwaHaHa!!!!!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"bball1525" &lt;BBALL1525&gt; wrote in message&lt;BR /&gt;
news:f158380.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
| How do I find the current drawings scale through VBA? Is it a system&lt;BR /&gt;
variable or what?&lt;/BBALL1525&gt;&lt;/BEGINNING&gt;</description>
      <pubDate>Sat, 12 Apr 2003 17:44:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304392#M64356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-04-12T17:44:51Z</dc:date>
    </item>
    <item>
      <title>Finding the Scale</title>
      <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304393#M64357</link>
      <description>You just popped the lid off a can of worms...</description>
      <pubDate>Mon, 14 Apr 2003 05:38:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304393#M64357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-04-14T05:38:33Z</dc:date>
    </item>
    <item>
      <title>Finding the Scale</title>
      <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304394#M64358</link>
      <description>As robert says, the definition of drawing scale can be somewhat blurred&lt;BR /&gt;
depending on how your drawing is set up.&lt;BR /&gt;
In the case where you are using paper/model space with pviewports having&lt;BR /&gt;
different scales this can be a real problem. Basically, you have to&lt;BR /&gt;
decide which is the 'main' scale and use it when in modelspace.&lt;BR /&gt;
I too keep the scale values in a dictionary (even the pspace value just&lt;BR /&gt;
in case it isn't 1:1) and have modified the goto paperspace and goto&lt;BR /&gt;
modelspace toolbar buttons to set the ltscale when the activespace&lt;BR /&gt;
changes. Also, there is a routine that runs in paperspace for placing&lt;BR /&gt;
barscales for the different pviewports. The user selects the pvport and&lt;BR /&gt;
insertion point and the routine sets the block attributes to fit the&lt;BR /&gt;
pvport custom scale.&lt;BR /&gt;
Tom&lt;BR /&gt;
&lt;BR /&gt;
"Ronnie Wilkins, Jr." wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; You just popped the lid off a can of worms...</description>
      <pubDate>Mon, 14 Apr 2003 07:23:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304394#M64358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-04-14T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Finding the Scale</title>
      <link>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304395#M64359</link>
      <description>Seems I scared the original poster away, too!&lt;BR /&gt;
&lt;BR /&gt;
;-)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Ronnie Wilkins, Jr." &lt;RWILKINS&gt; wrote in message&lt;BR /&gt;
news:f158380.1@WebX.maYIadrTaRb...&lt;BR /&gt;
| You just popped the lid off a can of worms...&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/RWILKINS&gt;</description>
      <pubDate>Tue, 15 Apr 2003 08:05:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/finding-the-scale/m-p/304395#M64359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-04-15T08:05:15Z</dc:date>
    </item>
  </channel>
</rss>

