2 weeks ago
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 😀
2 weeks ago
Yes, kinda.
Have a look at these bad boys in the toolbar:
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!