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

Simple Ouestion

Red
Advocate
How should inverse tangent be worded in script? Everything I seem to try is not working out correctly.

Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
3 REPLIES 3
Anonymous
Not applicable
Red wrote:
How should inverse tangent be worded in script? Everything I seem to try is not working out correctly.

angle = ATN(a/b)

Watch out for b = 0
Red
Advocate
Thanks for the help works great now, but I have one more question.

Sometimes the sloped value will be 14'-10 7/64". How can round it to the nearest 1/8"?
Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
Anonymous
Not applicable
Red wrote:
Thanks for the help works great now, but I have one more question.

Sometimes the sloped value will be 14'-10 7/64". How can round it to the nearest 1/8"?
It should look something like:

TEXT2 a, b, STR (“%0.8ffi”, length)

Go to page 115 of the GDL manual (assuming you have the same edition). In any case it is in chapter "11.3 Functions". It is a bit cryptic, but it is all there.