cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

GDL object - Insert option

JessicaVazquez
Participant

Hello Everybody,

I'm new to GDL scripting and I have been wondering if it's possible to change the way a GDL object is placed or drawn into the project. Normally I just select my GDL objects from the Objects library and click anywhere in my project where I want to place them.

What I want to do is the following:

 

Is it possible to place a GDL object as if I was drawing a wall? or a line? Or a beam? By this I mean click on the start point and then click on the endpoint. This way the distance between the two clicks would indicate the length of my object.

Of course I can just manually input the total length by adjusting the dimension in the parameter I created. But I'm wondering if by two clicks it's possible to establish the dimension of the parameter.

Thank you so much for any tips you may have 😀

1 REPLY 1
runxel
Hero

Yes, kinda.

Have a look at these bad boys in the toolbar:

runxel_0-1761306461180.png

However, there are some constraints. Mainly that you absolutely have to use the A and B values.

First button: only placement

Second button: only A ("length")

Third/Fourth button: A and B values are used.

 

Happy coding!

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!