<?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 Error messages from wa_trim_sp_usa.gsm in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Error-messages-from-wa-trim-sp-usa-gsm/m-p/251023#M11270</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am new to this forum, and new to ArchiCAD, but so far I love it.&lt;BR /&gt;
I am not so new to computer programming, but haven't learned &lt;BR /&gt;
GDL yet.&lt;BR /&gt;
&lt;BR /&gt;
Recently I messed up with some attributes of some window or door in my &lt;BR /&gt;
project, and I am getting following error messages:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;Polygon is degenerated.
 at line 3947 in the 3D script of file wa_trim_sp_usa.gsm.
Polygon is degenerated.
 at line 3960 in the 3D script of file wa_trim_sp_usa.gsm.
Polygon is degenerated.
 at line 3973 in the 3D script of file wa_trim_sp_usa.gsm.
Finished generation of Section/Elevation.
&lt;/PRE&gt;

I looked at the documentation, but I could not find answers to following:&lt;BR /&gt;
1) How to identify which particular object triggered those errors?&lt;BR /&gt;
2) Which attribute is causing this error? &lt;BR /&gt;
3) Is there a way to see this actual script and analyze it to get an idea&lt;BR /&gt;
what particular polygon is degenerated to deduce wrong attributes&lt;BR /&gt;
making it degenerated?&lt;BR /&gt;
4) In general, is there a way to dump into some text format&lt;BR /&gt;
all specific objects in a set, lets say all windows, including all their attributes,&lt;BR /&gt;
so I will be able to search for all errors and maybe write some validating&lt;BR /&gt;
scripts?&lt;BR /&gt;
5) Is there a way to access all objects programmatically in some scripting language like python either via&lt;BR /&gt;
5a) API to ArchiCAD, or &lt;BR /&gt;
5b) library capable to read and parse the project file (.pln), or &lt;BR /&gt;
5c) library capable to read and parse some other exported format of the project file?&lt;BR /&gt;
&lt;BR /&gt;
Please give me any pointers so I will continue from there.&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Przemek&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 10:32:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-24T10:32:23Z</dc:date>
    <item>
      <title>Error messages from wa_trim_sp_usa.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Error-messages-from-wa-trim-sp-usa-gsm/m-p/251023#M11270</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am new to this forum, and new to ArchiCAD, but so far I love it.&lt;BR /&gt;
I am not so new to computer programming, but haven't learned &lt;BR /&gt;
GDL yet.&lt;BR /&gt;
&lt;BR /&gt;
Recently I messed up with some attributes of some window or door in my &lt;BR /&gt;
project, and I am getting following error messages:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;Polygon is degenerated.
 at line 3947 in the 3D script of file wa_trim_sp_usa.gsm.
Polygon is degenerated.
 at line 3960 in the 3D script of file wa_trim_sp_usa.gsm.
Polygon is degenerated.
 at line 3973 in the 3D script of file wa_trim_sp_usa.gsm.
Finished generation of Section/Elevation.
&lt;/PRE&gt;

I looked at the documentation, but I could not find answers to following:&lt;BR /&gt;
1) How to identify which particular object triggered those errors?&lt;BR /&gt;
2) Which attribute is causing this error? &lt;BR /&gt;
3) Is there a way to see this actual script and analyze it to get an idea&lt;BR /&gt;
what particular polygon is degenerated to deduce wrong attributes&lt;BR /&gt;
making it degenerated?&lt;BR /&gt;
4) In general, is there a way to dump into some text format&lt;BR /&gt;
all specific objects in a set, lets say all windows, including all their attributes,&lt;BR /&gt;
so I will be able to search for all errors and maybe write some validating&lt;BR /&gt;
scripts?&lt;BR /&gt;
5) Is there a way to access all objects programmatically in some scripting language like python either via&lt;BR /&gt;
5a) API to ArchiCAD, or &lt;BR /&gt;
5b) library capable to read and parse the project file (.pln), or &lt;BR /&gt;
5c) library capable to read and parse some other exported format of the project file?&lt;BR /&gt;
&lt;BR /&gt;
Please give me any pointers so I will continue from there.&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Przemek&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:32:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Error-messages-from-wa-trim-sp-usa-gsm/m-p/251023#M11270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error messages from wa_trim_sp_usa.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Error-messages-from-wa-trim-sp-usa-gsm/m-p/251024#M11271</link>
      <description>karwas:&lt;BR /&gt;
&lt;BR /&gt;
Welcome to the forum.&lt;BR /&gt;
&lt;BR /&gt;
The issue is a bad parameter setting(s) for the Door or Window library part(s) (probably a zero input so the polygon cannot be generated). Rather than trying to delve into GDL, you should identify the bad part(s) by using the Marquee Tool to show parts of the model in the 3D Window to identify the offenders. Then select these, open its Settings dialog box, set the Preview to a 3D View, and start altering the parameters until the error message disappears. You could open the offending library part(s) (once identified) and go to those line numbers in the scripts, but you are just headed down the rabbit hole.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 05 Mar 2015 15:28:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Error-messages-from-wa-trim-sp-usa-gsm/m-p/251024#M11271</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2015-03-05T15:28:11Z</dc:date>
    </item>
  </channel>
</rss>

