<?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: Divide by zero errors in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61344#M40437</link>
    <description>I wish it were that simple. If that were the case, you would think AC would have this problem too but it's ony the Object Explorer.</description>
    <pubDate>Wed, 09 Jun 2004 16:23:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-06-09T16:23:18Z</dc:date>
    <item>
      <title>Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61342#M40435</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm using the Object Explorer to proof my libraries before running them through the web publisher and I'm getting these errors in every single object.&lt;BR /&gt;
&lt;BR /&gt;
What exactly does this error mean and where should I be looking in my scripts?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 May 2004 15:46:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61342#M40435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-28T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61343#M40436</link>
      <description>not a gdl expert but i'll have a go&lt;BR /&gt;
&lt;BR /&gt;
'divide by zero error' means exactly what it says. the result is infinity which computers just don't like&lt;BR /&gt;
&lt;BR /&gt;
i'd guess that you've got some parameter defaults set to zero. try changing the defaults to something appropriate (and setting a range delimiter in the gdl script so that they can't be set to zero)&lt;BR /&gt;
&lt;BR /&gt;
bill</description>
      <pubDate>Fri, 28 May 2004 21:57:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61343#M40436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-28T21:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61344#M40437</link>
      <description>I wish it were that simple. If that were the case, you would think AC would have this problem too but it's ony the Object Explorer.</description>
      <pubDate>Wed, 09 Jun 2004 16:23:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61344#M40437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-09T16:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61345#M40438</link>
      <description>I have see this error before. The problem was as follows.&lt;BR /&gt;
&lt;BR /&gt;
I had a user that had a curtin wall that was 22m long and 3.1m high.&lt;BR /&gt;
They had vertical mullions at 3m intervals and a total of 10 mullions. &lt;BR /&gt;
&lt;BR /&gt;
As you can see these numbers don't add up, so ArchiCAD was giving the same error message that you are getting. &lt;BR /&gt;
&lt;BR /&gt;
To solve the problem was simple, I reduced  the amount of mullions to the correct amount! &lt;BR /&gt;
&lt;BR /&gt;
HTH.&lt;BR /&gt;
Ben</description>
      <pubDate>Wed, 09 Jun 2004 20:02:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61345#M40438</guid>
      <dc:creator>Ben Odonnell</dc:creator>
      <dc:date>2004-06-09T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61346#M40439</link>
      <description>&lt;BLOCKQUOTE&gt;Sean wrote:&lt;BR /&gt;I'm using the Object Explorer to proof my libraries before running them through the web publisher and I'm getting these errors in every single object.&lt;BR /&gt;
&lt;BR /&gt;
What exactly does this error mean and where should I be looking in my scripts?&lt;/BLOCKQUOTE&gt;

As I have no one of your library parts so I can guess only.&lt;BR /&gt;
May be the ObjectExplorer does not initialize some global variable which you use in your calculations at division like:&lt;BR /&gt;
1000/A_ or other glob var. I think you should check up your calculations with division. Anyway you can use debug PRINTS or TEXT2 to localize the reasons.</description>
      <pubDate>Thu, 10 Jun 2004 10:05:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61346#M40439</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2004-06-10T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61347#M40440</link>
      <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;
As I have no one of your library parts so I can guess only.&lt;BR /&gt;
May be the ObjectExplorer does not initialize some global variable which you use in your calculations at division like:&lt;BR /&gt;
1000/A_ or other glob var. I think you should check up your calculations with division. Anyway you can use debug PRINTS or TEXT2 to localize the reasons.&lt;/BLOCKQUOTE&gt;

That global is exactly what the problem turned out to be. The text size of the object label in plan view is scale dependant and using that global, when I hardcode it (use 48 vs. A_) the errors are gone.&lt;BR /&gt;
&lt;BR /&gt;
This creates a bit of an impracticality since now I'll have to create one library for displaying on the web and another for use in a model.&lt;BR /&gt;
&lt;BR /&gt;
Oh well.</description>
      <pubDate>Thu, 10 Jun 2004 14:32:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61347#M40440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-10T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Divide by zero errors</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61348#M40441</link>
      <description>&lt;BLOCKQUOTE&gt;Sean wrote:&lt;BR /&gt;This creates a bit of an impracticality since now I'll have to create one library for displaying on the web and another for use in a model.
&lt;/BLOCKQUOTE&gt;

I have no the ObjectExplorer installed right now, but AFAIR a library loaded in the OE have to contain MASTER_GDL file with initialization of global variables and materials. May be you need to create a special MASTER_GDL for OE which will have a line like A _ = 48&lt;BR /&gt;
&lt;BR /&gt;
PS: BTW may be GLOB_SCALE initialized. Try for experiment A _ = GLOB_SCALE at start your script.&lt;BR /&gt;
&lt;BR /&gt;
Just ideas.</description>
      <pubDate>Thu, 10 Jun 2004 14:56:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Divide-by-zero-errors/m-p/61348#M40441</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2004-06-10T14:56:18Z</dc:date>
    </item>
  </channel>
</rss>

