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

GDL
About building parametric objects with GDL.

Beginner of API, rotate an ArchiCad element and save as GDL?

Anonymous
Not applicable
Hi!

I'm looking at lib-test in API-kit that creates a window from a fill.

Is there a way to directly get an slab so I'm only have to put a ROT command before automatic text for a slab in 3d script section?
Or do I need to get all coordinates manually and then create a slab in 3d script section?

I know I can do it by save as GDL in 3d, but I'm trying to learn to do it directly.

Anyone that could give idéas what I should try to create as my first own step in API-world? Like save an element in GDL or other things? Just for learning.
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
TurboGlider wrote:
Or do I need to get all coordinates manually and then create a slab in 3d script section?
The answer is 'yes' to this. The coordinates can be obtained with ACAPI_Element_GetMemo.

The example you quoted is a good start; it shows you how to create a library part.


HTH,

Akos