Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Configure number of decimals for hotspots?

Anonymous
Not applicable
I'm using hotspots in floorplan to find points to use as input to the coons-command in GDL. I just drag them from floorplan to the gdl-editor.
But I get so many decimals in the hotspots. I think this is confusing and not necessary. Are there some way in AC to configure the number of decimals that are created for hotspots?
2 REPLIES 2
Anonymous
Not applicable
Hello Anne,

I do not know if that answers your needs... but we have a similar question on fc cadlink for reduce a decimal number in an arithmetic expression and Eric Wilk had given quickly this way to solve the problem

if you have meter variables as x1 =1.565488855 and y1 = 3.9899898 for example and you want just two digits after the decimal point.

Try
round_int (x1 * 100) / 100
round_int (y1 * 100) / 100

The GDL Arithmetical Functions ROUND_INT (x) Returns the rounded integer part of x.

Maybe should help you ? Maybe a more elegant solution exist but you must wait for the response of people more qualified
Frank Beister
Moderator
No, you can't select anywhere the number of decimals, when exporting graphical objects to GDL. AFAIK.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm

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!