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.
SOLVED!

How to edit decimal precision of Param-O object parameters in GDL?

Rogerio M
Enthusiast

Hello!
I created an object in Param-O and then continued editing it using GDL, I have very limited knowledge of it, but I managed to add vertices, fills, and similar elements. After some trial and error, I reached a satisfactory result.

RogerioM_0-1752000019631.png

 

However, in the object's settings interface, the custom parameters I created are limited to only 2 decimal places. I need the precision to be 4 decimal places, but I couldn't find a way to change this in GDL.

Could anyone help me with this?

Windows 10 Pro, Intel i7-9700 3.0GHz, 32Gb, RTX 2060
Archicad 28 BRA 4100
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
runxel
Hero

Could it be that those are not stored as "Lengths" by GDL but as "Floats"? 

Just go and switch those (click on the icon to do that):

runxel_0-1752006801128.png

 

But beware! Whenever you switch the types of a parameters Archicad will delete your current number in there!

So first copy the number, then switch, then paste back in to prevent data loss.

Lucas Becker | AC 27 on Mac | 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»

View solution in original post

3 REPLIES 3
Solution
runxel
Hero

Could it be that those are not stored as "Lengths" by GDL but as "Floats"? 

Just go and switch those (click on the icon to do that):

runxel_0-1752006801128.png

 

But beware! Whenever you switch the types of a parameters Archicad will delete your current number in there!

So first copy the number, then switch, then paste back in to prevent data loss.

Lucas Becker | AC 27 on Mac | 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»

Hi Runxel,
That was exactly it! I was a bit lost thinking it was some script I needed to add.
Thank you so much!

Windows 10 Pro, Intel i7-9700 3.0GHz, 32Gb, RTX 2060
Archicad 28 BRA 4100
Laszlo Nagy
Community Admin

@Rogerio M,

 

You could also try setting the value in the "Numbers without Units" field of the Options > Project Preferences > Working Units Dialog to a value other than 2. If think the accuracy of all values that do not have a dedicated field (like Length, Area, Volume, Angle, Layout Unit) is controlled by this value. 

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

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!