BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Argument of ACS or ASN is not in range

Anonymous
Not applicable
Argument of ACS or ASN is not in range (-1 ... 1) at line 116 in the 2D script of file da_leaf_2D.gsm
I believe this is a door, but how do I find it and fix it? It has my program jambed and this note keeps coming up and will not let me do any work.
8 REPLIES 8
David Maudlin
Virtuoso
Dan:

Library Part name? ArchiCAD version? Error message with default settings?

You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Laszlo Nagy
Community Admin
Community Admin
danlawrence wrote:
Argument of ACS or ASN is not in range (-1 ... 1) at line 116 in the 2D script of file da_leaf_2D.gsm
I believe this is a door, but how do I find it and fix it? It has my program jambed and this note keeps coming up and will not let me do any work.
ACS is arcus cosine
ASN is arcus sine

They give the angle value the cosine/sine of which is the number in the bracket following the ACS/ASN command.
E.g. ACS(0) is 90.00 degrees, ACS(1) is 0.00 degrees.
ASN(0) is 0.00 degrees, ASN(1) is 90.00 degrees.

ArchiCAD says that the number (called argument) in the parantheses following the ASN or ACS is not within the range -1 to 1. As you know both sine and cosine of any angle can only fall between these values. So if the number is not between these values it cannot compute it so it gives an error message.


Just a shot: try changing the opening angle of the Door. Try to not set it to exactly 0 or 90 but some other 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-Ac27
Anonymous
Not applicable
Hello Laszlo,
You wrote:

ACS is arcus cosine
ASN is arcus sine

In the GDL manual ACS(X) Returns the "arc cosine" of x.
In my trigonometry book written and published in the US,
the term is spelled "arccosine" (no space).
You spell the term "arcus cosine" (the two letters "us" and a space).
I noticed on GDL-Talk the the term was spelled the way you do.

Do you know anything about these variants ?
Thanks,
Peter Devlin
Laszlo Nagy
Community Admin
Community Admin
Peter wrote:
Hello Laszlo,
You wrote:

ACS is arcus cosine
ASN is arcus sine

In the GDL manual ACS(X) Returns the "arc cosine" of x.
In my trigonometry book written and published in the US,
the term is spelled "arccosine" (no space).
You spell the term "arcus cosine" (the two letters "us" and a space).
I noticed on GDL-Talk the the term was spelled the way you do.

Do you know anything about these variants ?
Thanks,
Peter Devlin
Hm, interesting question. In Hungarian, the name is "arcus cosinus", this is why I thought it is called "arcus".
But I searched Google for both and it seems that "arc cosine" is the correct terminology. Or even "arccosine". It is hard to find out from Google because "arc cosine" gives 45000 results, "arccosine" gives 26000. But I know that in the Internet a lot of people a lot of times write words in two words where they should be one word.
Thanks for pointing it out.
Probably the guy who mentioned it on GDL-Talk is also from a country where it is called "arcus".
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-Ac27
Anonymous
Not applicable
Hello Laszlo,
Thanks for doing that research and posting back.
"arcus cosinus" sounds like Latin. Do you suppose
that the Hungarians adopted the Latin term from
some Latin text that was a treatise on trigonometry
whereas the English Anglicized the Latin term ?
All of this, of course, occurring in the renaissance
when Europeans acquired Latin texts on mathematics.
What is really puzzling to me is, why "arc cosine"
is any more "correct" than "arcus cosinus".
Peter Devlin
Laszlo Nagy
Community Admin
Community Admin
Peter wrote:
Hello Laszlo,
Thanks for doing that research and posting back.
"arcus cosinus" sounds like Latin. Do you suppose
that the Hungarians adopted the Latin term from
some Latin text that was a treatise on trigonometry
whereas the English Anglicized the Latin term ?
All of this, of course, occurring in the renaissance
when Europeans acquired Latin texts on mathematics.
What is really puzzling to me is, why "arc cosine"
is any more "correct" than "arcus cosinus".
Peter Devlin
Yes, arcus cosinus sounds very Latin so it is possible. In our history we have taken many words from Latin and from German. Nowadays, we are taking words mostly from English, words like star, loser, stupid, cool. We just say them phonetically so it sounds almost like the English, it is just spelled differently (sztár, lúzer, stupid, kúl).
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-Ac27
Anonymous
Not applicable
Hello Laszlo,
Thank you. Fascinating!!
Peter Devlin
Laszlo Nagy
Community Admin
Community Admin
Peter wrote:
Hello Laszlo,
Thank you. Fascinating!!
Peter Devlin
You are welcome.
You never know what a forum like this is good for.
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-Ac27
Learn and get certified!