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

Problem with CALL statement in ArchiCAD 13.

Anonymous
Not applicable
We have a situation with two objects, one is parent (element1) and other one is child (element2) element.


element1 2D script
CALL “element2” PARAMETERS note_text = “temp note”, custom_note = 0

element2 has note_text as Text type(Abc) and custom_note as Boolean type.

This works fine in ArchiCAD 9, but in ArchiCAD 13 we are getting following Warning and ArchiCAD is not opening and struck for ages.

‘CUSTOM_NOTE’ isn’t a valid parameter name at line 1 in the 2D script of file element1.gsm.

If I remark CALL statement in element1 drawing is opening in ArchiCAD 13.

Can any one give me why it is happening and all other elements with CALL statements works fine?
1 REPLY 1
Frank Beister
Moderator
Have you tried to declare custom_note before the call-statement in element1?

Have you tried to change the name? Maybe it is a reserved name since AC13. I do not know it, but maybe it is not documented.

GS has changed the proofing of parameter and variable types in recent versions. But the error statement looks more like a parameter name problem.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm