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

Custom Batten Object

Anonymous
Not applicable
There's a great batten tool I'd like to use for simulating board and batten that someone made available: http://www.onland.info/archives/2008/05/battens_jm11.php
(object attached)

In Archicad 18 it gives error when it runs. Is this an object issue? Can someone here weigh in on the error and help troubleshoot perhaps, I'm at a loss with the programmed objects.
5 REPLIES 5
Anonymous
Not applicable
Hi,
what kind of error is returned
Anonymous
Not applicable
Running "check script" in the object edit menu:

'Uninitialized variable at line 18 in the 3D script of the file BattensJM11.gsm'
Anonymous
Not applicable
Ok i was curious and have tried the object.

Open gdl code, go to master script, at the end of the code add the line

hsid=1325

save object.

I haven't found anything else wrong with it.
Anonymous
Not applicable
Excellent, thanks!

edit:
I get one other error in another file:

Not enough edges in generatrix.
at line 48 in the 3D script of file Battens JM11.gsm.

Also- just curious I understand you defined hsid but why 1325?
Anonymous
Not applicable
1325 is a mystic number coming from the vikings' legend.......ok it is a casual number only to initialize the variable.

I don't have encountered the other error, Checked the 3d script but it says ok.