Custom window keeps returning error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-11-07
04:31 PM
- last edited on
2023-05-24
12:28 PM
by
Rubia Torres
2017-11-07
04:31 PM
(so that is why I'm posting 'double'... hope that is ok )

Archicad returns a number of errors (at 4 lines to be exact - script is 20.000+ lines long). They are all the same type of error, and look like this:
The lines in which the error should be found ar also similar, something like:
result_369D7195_8278_D24F_836C_76B0EE41A3E0 = sweepgroup{4} ("group_73D7CEFC_4025_EE4F_BEC3_9D47A3FC2D47", 0.E+79, 0.E+79, 0.E+79, 1, 0, 0, 2, 2)Other ones that give an error are the same "commands", but with different groups. They all had the "0.E+79" values. I changed these to plain "0", but the error is still there. I don't see any difference with other similar lines (without the weird values)...
For example, this line returns no error:
result_0FAF9329_61D0_7240_BA52_978830132FCF = sweepgroup{4} ("group_BEF450EA_E780_9741_9DFA_8BD6B984BCA3", -0.08975294845936, 1.402363763688, 0, 1, 0, 0, 2, 2)Any help would be much appreciated!
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-11-08 02:34 AM
2017-11-08
02:34 AM
I have never used Sweepgroup but from what I can see the first 3 values are the path it is to sweep along.
In the lines that you have errors they are all 0 (or very close to it).
So there is no vector in which to sweep the path.
I will delete the other post if there are no replies.
Barry.
In the lines that you have errors they are all 0 (or very close to it).
So there is no vector in which to sweep the path.
I will delete the other post if there are no replies.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-11-08 02:41 AM
2017-11-08
02:41 AM
Tip for finding errors.
Open the script in question (i.e. 3D script) and press CTRL+L.
Enter the line number in the error message and it will find the line for you.
Barry.
Open the script in question (i.e. 3D script) and press CTRL+L.
Enter the line number in the error message and it will find the line for you.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11