cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

GDL frustration

Dave Seabury
Advocate
New to Archicad and have a question regarding division of a parameter.
Working on a roof truss model and i want to convert the span of the truss
in to and interger ie 16' in 16. If my education serves me correctly 16'/1'
equals 16. In my GDL script however, it returns something like 26' - 8 17/32". What am I missing? Thanks in advance. Great program though.

Thanks

Dave
AC13
Windows XP
AC 19-26 Windows 10 64 bit, Dell Prercision 7820, Xeon Silver 2414R ( 12 Cores), 64 GB Ram, Quadro RTX 4000 8GB
3 REPLIES 3
Not applicable
I have no idea how you are getting the 26'+ value, but when you divide a length parameter by another length parameter you still have a length value which will be internally expressed in meters. To get the integer value you have to write INT(16'/1'). (I assume that these are just representative constants for some variables you haven't identified.)
Dave Seabury
Advocate
Matthew,

Thanks for the reply, I tried INT earlier and got the same result.
See attached: In this instance A = 16'

stumped
undefined
AC 19-26 Windows 10 64 bit, Dell Prercision 7820, Xeon Silver 2414R ( 12 Cores), 64 GB Ram, Quadro RTX 4000 8GB
Not applicable
Not sure this is what you are looking for but maybe it'll help.

Doug