BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

2D library parts v8.1

Anonymous
Not applicable
I want to make 2D libray parts in v8.1. However:

When I save the bed I layed out at with the fill tool (File>GDL Objects>Save Selection) I get a GDL object which will not work as a library part.

When I try to use the part, the error alerts say: “Invalid 2D symbol. Open the library part for editing and check its 2D script for errors.” and “Not enough edges in generatrix. at line 12 of file bed.gsm”

When I open the 2D script and check the “check script box” the alert says: “The GDL script is OK”.

What might be the problem? Thanks for any suggestions.....

Robin Riley
ArchiCAD V8.1
Mac OS X v10.4
PowerBook G4 15"
9 REPLIES 9
Anonymous
Not applicable
Robin,
Unfortunately, AC 8.1, AC 9, and AC 10, do not have
extensive or complete error checking with "Check Script".
Therefor a precise identification of an error in a command is not available.
Errors are found during processing and these error reports are somewhat general.
Apparently, there is an error in the auto-scripted 2D script.
Try saving the drawing as a GDL object again.
Hopefully, this time it will not have errors.
Peter Devlin
TomWaltz
Participant
Check and make sure the fill you used to create the object is not self-intersecting or have any strange extra points in it. That could cause some problems in the object.
Tom Waltz
Anonymous
Not applicable
Check the 2D Full View as well (though this should work fine if the script checks out). Perhaps there is a parameter error in the placed instance (ie one dimension is too small or such). Select the part, open the settings, switch to another part and then back again. This will reset the parameters to the saved defaults. HTH.
Anonymous
Not applicable
Thanks for the suggestions, however, nothing works except a simple circle (no fill). Simple lines and rectangles (with or without fills) will not become library parts using: File>GDL Objects>Save Selection.

I continue to get error alerts which say: “Invalid 2D symbol. Open the library part for editing and check its 2D script for errors.” and “Not enough edges in generatrix. at line 12 of file xxxx.gsm”.

Could this be a problem with v8.1? I used v6.5 earlier and was able to make 2D library parts easily.

Robin Riley
ArchiCAD V8.1
Mac OS X v10.4
PowerBook G4 15"
Anonymous
Not applicable
Robin,
Could you upload the library part to this forum so that we can test it ?
I still have AC 8.1 loaded so I can test it in that version.
Peter Devlin
Anonymous
Not applicable
Thanks Peter
Here it is.....

Robin Riley
ArchiCAD V8.1
Mac OS X v10.4
PowerBook G4 15"
Anonymous
Not applicable
Robin,
I down-loaded your "Bed2.zip" and uncompressed it on my desktop
and the the icon is the Mac generic file icon which looks like a
white piece of paper with a folded corner.
I did a "get info" and found the file type was "Document" with
a file size of 4 K. It is not an AC .gsm file.
Do you have "Save in MultiPlatform Format" checked
in your AC preferences ?
I see that you are on a Mac so this should not make any difference
but ????
Peter Devlin
Anonymous
Not applicable
Robin,
I manually changed the file name to "Bed2.gsm" and was
able to open it in AC 8.1.
I looked at the 2D script and found several strange things.
The 2D script is as follows.
!
! Name : Bed2.gsm
! Date : Tuesday, July 4, 2006
! Version : 8.10
! Written by ArchiCAD
!

MUL2 A/1.920240, B/1.219200
ADD2 -17895'-8.3647", -17895'-8.3647"
PEN 41
SET FILL "% 100"
POLY2_B{2} 5, 6, 41, 91,
0', 0', 0',
17895'-8.3647", 17895'-8.3647", 1,
17895'-8.3647", 17895'-8.3647", 1,
17895'-8.3647", 17895'-8.3647", 1,
17895'-8.3647", 17895'-8.3647", 1,
17895'-8.3647", 17895'-8.3647", -1

HOTSPOT2 17895'-8.3647", 17895'-8.3647"
HOTSPOT2 17895'-8.3647", 17895'-8.3647"
HOTSPOT2 17895'-8.3647", 17895'-8.3647"
HOTSPOT2 17895'-8.3647", 17895'-8.3647"
HOTSPOT2 17895'-8.3647", 17895'-8.3647"

PEN 99
LINE2 17895'-8.3647", 17895'-8.3647", 17895'-8.3647", 17895'-8.3647"
LINE2 17895'-8.3647", 17895'-8.3647", 17895'-8.3647", 17895'-8.3647"
LINE2 17895'-8.3647", 17895'-8.3647", 17895'-8.3647", 17895'-8.3647"
LINE2 17895'-8.3647", 17895'-8.3647", 17895'-8.3647", 17895'-8.3647"


Notice that the dimensions in the POLY2_B{2} command
are all the same. This makes a dimensionless polygon.
This explains the error message.
Also notice that the LINE2 commands draw lines that have zero length.
this makes a dot at the origin.
Notice also the HOTSPOT2 commands place hotspots on top of each other
This is one giant bed. The X dimension of 17895'-8.3647" is rather large.

Clearly AC has screwed-up the auto-script.
I have no idea how, on purpose, to make AC do what it did.

Is this your second attempt to save the 2D drawing as a GDL object ?

I would try once more. But before doing so I would do a couple of things
in the 2D view.
Set the scale to one that makes sense for the size of the object.
Move the 2D elements to the project origin.
Check the dimensions of the 2D elements.

Thank you,
Peter Devlin
Anonymous
Not applicable
Peter

I took your advise and tried again. This time I opened a new project file using the factory defaults. I used the project origin to set the corner of the object and set an appropriate scale. I made a 2D library part that worked. The problem must have been with the project origin. All is OK now.

BTW: I earlier took the .gsm extension off the file because I mistakenly thought I could not upload the file to the forum with it on.

Thank you for taking the time to work through this problem with me.

Robin Riley
ArchiCAD V8.1
Mac OS X v10.4
PowerBook G4 15"
Learn and get certified!