Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

GDL
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.

 

e.g.:

🛑0.05715m

2.25"

 

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

James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
1 REPLY 1
Zsuzsanna Bori
Graphisoft
Graphisoft

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. 🙂