→Graphisoft Home →Download ArchiCAD Educational →Download ArchiCAD Trial →ArchiCAD Forum →ArchiCAD Tutorials

Author:

MartaTron

Creation Date:

2002-10-12

ArchiCAD versions:

• ArchiCAD 9
• ArchiCAD 8.1
• ArchiCAD 7.0

Platform:

• Mac OS X
• Windows

Audience:

• newcomers

Reference:

• [tracking number]

There are two methods for creating new library parts:

Draw the elements/components

Create a 3D model from Slabs, Walls and other elements / Library Objects, especially using the objects that can be found in the Primitives folder in the ArchiCAD Library. Make sure that one corner of the resulting 3D model is at the absolute (x=0,y=0) origin, because this will be the local origin of that library part. If not, use the Drag command to move your model to the origin. Activate the 3D Window and set the viewpoint the top view. Then save it as an ArchiCAD Object File (.GSM file). You can then choose between Editable GDL Script and Non-editable binary 3D data. Generally select the Editable GDL Script option to be able to modify the 3D script and to add new parameters to the parameter list of the resulting object. If you open such a library part, you will find 3 parameters (A,B,ZZYZX) in the parameter list, an editable 3D script generated by ArchiCAD and a 2D symbol that is a stretchable, vectorial 2D representation of the object. The 3D script contains 3 major parts:

The first contains the comments (In GDL, "!" means that the next characters in that row should not be interpreted by ArchiCAD), the second contains the global variables (see the Appendix in the ArchiCAD GDL Reference Manual for a List of Global Variables) and only the short 3rd part is which creates the 3D representation of the object.

Create different GDL scripts

Pros/Cons.


CategoryGdl

TechNotes/Creating custom Library Objects (last edited 2008-08-27 15:14:17 by localhost)