We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

I have a question about GDL ,,,

Anonymous
Not applicable
Hi, I'm looking for information about GDL Compiler(or Interpreter).

We have a lot of GDL objects. and use in ArchiCAD.

But we want to use other program(Window Application or something)

We reuse GDL objects in our application(Not ArchiCAD, Not ArchiCAD

Add-Ons).

And I wonder how to presentation in ArchiCAD a GDL object.

I guess..

GDL Object scripts -> compile or interpreter -> ArchiCAD 3D,2D Shape

I visited GDL Alliance, I read a GDL Document.

But I can't understand exactly...

Anybody know about this ?

ArchiCAD API has a GDL translation method ?

I look around ArchiCAD DevKit,,, and i found \modules\GDL folder,,

what is that? and how to find in API Document about GDL.

My english so poor. if you kwon about this, and understand my point.

i hope to get some advice.
3 REPLIES 3
Ralph Wessel
Mentor
moonistar wrote:
Hi, I'm looking for information about GDL Compiler(or Interpreter).I guess..
GDL Object scripts -> compile or interpreter -> ArchiCAD 3D,2D Shape
ArchiCAD API has a GDL translation method ?
Yes, ArchiCAD interprets the GDL script to generate 2D or 3D geometry on demand. A well-designed object can be used in a wide variety of situations because the parameters (variables) in the script enable it to dynamically generate different geometry to suit.

The GDL interpreter is only (directly) accessible to ArchiCAD, i.e. it is private. However, the API does allow you to place an object, set its parameters, and extract the resulting 2D and 3D geometry. Is this what you want to do?

I won't go into further detail until I'm sure this is what you want. You will need to study a lot of the API documentation to understand this properly, but I can point you in the right direction.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
However, the API does allow you to place an object, set its parameters, and extract the resulting 2D and 3D geometry.
first, thanks

And if i use a ArchiCAD Library. Can i set in place a GDL objects ?

even if is not ArchiCAD.

For example, I make a small application use a MFC.

and i make a 3D geometry area. and then i set in place a objects(GDL)

in my application(3D Area).

not installed ArchiCAD. just install my applicatoin and ArchiCAD library

is that possible?

I want to make little cad program. we just need a little features.

we'll not use a ArchiCAD. We just set in place a objects in my view.

and move, delete, rotate...

Not just one Objects,,, maybe less than 100 items.

No rendering, No other features,,,

we just want to reuse GDL files.

Ralph Wessel
Mentor
moonistar wrote:
And if i use a ArchiCAD Library. Can i set in place a GDL objects ? even if is not ArchiCAD. we just want to reuse GDL files.
OK, I think I understand - you want to use GDL objects in another CAD application entirely independent of ArchiCAD?

I think your only options are:
  • 1) Use GDL browser plugin - download here;
    2) If the 'other' CAD application is AutoCAD, use the GDL Adapter for AutoCAD - download here;
    3) Reach some licensing agreement with Graphisoft to use their technology;
    4) Write your own GDL interpreter - this may have legal implications, so seek professional advice first.
Ralph Wessel BArch
Software Engineer Speckle Systems