About building parametric objects with GDL.

Units of Auto Script from Dropped Geometry?

Is there a way to control the units of the auto script generated from dropping drawn geometry into a script window? For many years it seemed to follow the working units, or at least I was OK with it being FFI in USA usage. Now all the values are always metric, and run to 13 decimal places, which is not easily -readable for this human. And since the geometry in question is often FFI, I'd greatly prefer to see those values in the script.






Screen Shot 2022-02-23 at 2.01.04 PM.png

James Murray

Archicad 25 • Rill Architects • macOS •
Zsuzsanna Bori

Unfortunatley, no. The length in GDL is always in meters. You can find a good workflow for working with constants in your code in the comments of this thread.

Regarding the decimal places, you can always round up a few numbers at the end if you are comfortable with losing the original geometry's precise size, but the best part of this drag&drop feature is that you don't have to figure out these complicated numbers yourself, the computer does it for you. 🙂 

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!