<?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: Drawing Scale calls for GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32105#M32602</link>
    <description>Yes there are global variables available now which will return values such as the drawing scale. It cannot be done with Autotext - autotext does not work in GDL as it is something AC itself converts &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;after&lt;E&gt;&lt;/E&gt; the GDL is run. Can't remember the complete explanation but do a search on TitleType or similar .... i posted a Titletype object which has functions in the script you could use, and the thread it is in talks about this stuff. Sorry too busy right now to find it myself</description>
    <pubDate>Fri, 17 Nov 2006 03:01:51 GMT</pubDate>
    <dc:creator>owen</dc:creator>
    <dc:date>2006-11-17T03:01:51Z</dc:date>
    <item>
      <title>!Restored: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32099#M32596</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Is there a variable other than GLOBAL_SCALE that can make the transition from model to layout environments.  I want to have a display of the scale factor of a drawing but when I take the code into layout, the value returned is 1 (corresponding to the 1:1 layout environment).  How do you store/reference the original drawing scale?  And I &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;don't&lt;E&gt;&lt;/E&gt; want to do it with autotext...I want a numeric return.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Nov 2006 19:19:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32099#M32596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-16T19:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32100#M32597</link>
      <description>Tom,&lt;BR /&gt;
Would a title type serve your purpose ?&lt;BR /&gt;
I believe some title types access and display the &lt;BR /&gt;
original scale of the window the drawing was created from.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 16 Nov 2006 20:29:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32100#M32597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-16T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32101#M32598</link>
      <description>Do you mean you want an object in the layout to refer to the scale of a drawing?&lt;BR /&gt;
&lt;BR /&gt;
I think Peter is correct, the only option I know of is to use Title Type.</description>
      <pubDate>Thu, 16 Nov 2006 22:02:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32101#M32598</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-11-16T22:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32102#M32599</link>
      <description>I am creating a graphic scale within a title type and want to have the numeric feet appear beside the tick marks on the graphic scale.  So, somehow I need to be able to get the scale of the drawing as a number that I then can manipulate to serve the graphic scale.  (PS: I don't like the NCS objects graphically, thus the GDL effort). Global_scale variable references the window its in, so it works in AC model but in layout reverts to 1:1.  There's got to be an original drawing scale factor variable (not autotext) somewhere to be able to use!</description>
      <pubDate>Thu, 16 Nov 2006 22:33:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32102#M32599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-16T22:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32103#M32600</link>
      <description>I agree, as you say, "There's got to be an &lt;BR /&gt;
original drawing scale factor variable" or&lt;BR /&gt;
I assume there must be.&lt;BR /&gt;
I have not taken the time to slog through&lt;BR /&gt;
one of the title type scripts to find it.&lt;BR /&gt;
I would have to memorize all those&lt;BR /&gt;
gs_this and ac_that so that I could recognize&lt;BR /&gt;
the variable when I saw it. &lt;BR /&gt;
Assuming  it is a global, request, or function call.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 16 Nov 2006 22:54:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32103#M32600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-16T22:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32104#M32601</link>
      <description>I think AC_DrawingScale is what you're looking for. I think it's a text variabel though, not a numeric one.</description>
      <pubDate>Thu, 16 Nov 2006 23:09:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32104#M32601</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-11-16T23:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32105#M32602</link>
      <description>Yes there are global variables available now which will return values such as the drawing scale. It cannot be done with Autotext - autotext does not work in GDL as it is something AC itself converts &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;after&lt;E&gt;&lt;/E&gt; the GDL is run. Can't remember the complete explanation but do a search on TitleType or similar .... i posted a Titletype object which has functions in the script you could use, and the thread it is in talks about this stuff. Sorry too busy right now to find it myself</description>
      <pubDate>Fri, 17 Nov 2006 03:01:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32105#M32602</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2006-11-17T03:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32106#M32603</link>
      <description>I just went through this exercise...&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, there isn't a "scale factor" (real number) variable available. You will need to do some GDL scripting to convert the "AC_DrawingScale" (string) variable to the scale factor (real number) variable.</description>
      <pubDate>Mon, 20 Nov 2006 23:28:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32106#M32603</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2006-11-20T23:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing Scale calls for GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32107#M32604</link>
      <description>&lt;BLOCKQUOTE&gt;David wrote:&lt;BR /&gt;I just went through this exercise...&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, there isn't a "scale factor" (real number) variable available. You will need to do some GDL scripting to convert the "AC_DrawingScale" (string) variable to the scale factor (real number) variable.&lt;/BLOCKQUOTE&gt;

oops forgot about the string conversion .. i hadn't had the need to use it as a real number yet so had not reached that hurdle. Thanks for the heads up.</description>
      <pubDate>Tue, 21 Nov 2006 02:35:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Restored-Drawing-Scale-calls-for-GDL/m-p/32107#M32604</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2006-11-21T02:35:06Z</dc:date>
    </item>
  </channel>
</rss>

