We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

GDL Question

Vitruvius
Booster
I've just upgraded to AC 9 and have a door symbol I've been using for years without problem - in fact it still works just fine. But, when I open it to edit the GDL code and ask AC to "check script" I get the following error message:

' USE OF REAL TYPES CAN RESULT IN PRECISION PROBLEMS........ '

Which highlights the following code

IF WIDO_ORIG_DIST <> 0 THEN LET WindowRadius = etc., etc.

IF WIDO_ORIG_DIST = 0 THEN LET WindowRadius = 0

Any thoughts on this?

Cheers, Cameron

iMac G5 20" / AC 9
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
2 REPLIES 2
Karl Ottenstein
Moderator
Search "use of real types" and you'll find a thread that discusses this at length.

Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Vitruvius
Booster
Many thanks for the tip, Karl!

Problem 'solved' with an INT(WIDO_ORIG_DIST) = 0

Probably not elegant and rife with error. And probably not the correct solution. Epsilon is Greek for SNAFU. But there ya go.

Man, is this an arcane sport or what?

Cheers,
Cameron

iMac G5 20"/AC 9/& perpetually flummoxed when I think I've finally figured things out...

PS - I now know why Dwight looks like a Tai Chi maestro - he's not; he's on a sinking ship urgently trying to flag down some help...
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma