We have found a bug with saving a model to gsm when the model uses
profile attributes: the generated gsm has incorrect syntax.As a
workaround open the saved object in GDL editor and replace ind(profile,
…) statements to ind(profile_attr, …).
REQUEST "Name_of_material" returns empty string in parameter script. If
you placed it in the master script, there will be an error with the
parameter script run. Use GLOB_SCRIPT_TYPE to avoid the parameter script
context. The end of the master script...
The problem is with font names, all used style's font names have to be
correct. In GDL the font names visible on the Archicad UI can't be used.
REQUEST "FONTNAMES_LIST" returns a list of installed fonts. "Arial" can
be "Arial Western" or "Arial Centr...
If you are working with constants in the code, you can use
multiplication. INCH = 0.0254 MM = 0.001 M = 1 BLOCK 1 * INCH, 20 * MM,
3 * M On the UI always use Length and Angle parameter types for
lengths/angles, their representation change according t...