Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Error messages from wa_trim_sp_usa.gsm

Anonymous
Not applicable
Hello,

I am new to this forum, and new to ArchiCAD, but so far I love it.
I am not so new to computer programming, but haven't learned
GDL yet.

Recently I messed up with some attributes of some window or door in my
project, and I am getting following error messages:

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.
I looked at the documentation, but I could not find answers to following:
1) How to identify which particular object triggered those errors?
2) Which attribute is causing this error?
3) Is there a way to see this actual script and analyze it to get an idea
what particular polygon is degenerated to deduce wrong attributes
making it degenerated?
4) In general, is there a way to dump into some text format
all specific objects in a set, lets say all windows, including all their attributes,
so I will be able to search for all errors and maybe write some validating
scripts?
5) Is there a way to access all objects programmatically in some scripting language like python either via
5a) API to ArchiCAD, or
5b) library capable to read and parse the project file (.pln), or
5c) library capable to read and parse some other exported format of the project file?

Please give me any pointers so I will continue from there.
Thank you,
Przemek
1 REPLY 1
David Maudlin
Rockstar
karwas:

Welcome to the forum.

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.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14