We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Another Invalid Transformation Matrix

Anonymous
Not applicable
I have a user who was trying to make a line into a GDL for grids (this is in AC9 -- he wants them to show up on all floors). For some reason, it was giving him the error on the first two lines:
MUL2 A/52.425600, B/1.000000
ADD2 84'-2.4000", -121'-7.2000"
PEN          4
SET LINE_TYPE "Dot & Dashed"
LINE_PROPERTY     0
LINE2    -84'-2.4000", 121'-7.2000", 87'-9.6000", 121'-7.2000"
The ADD2 line can be removed, and the object repositioned on the floor plan. The MUL2 cannot be changed because the line length changes. Reading elsewhere in this forum, the only suggestion is that something is equating to zero, but this error also shows up in the GDL editor when I check the code.

There are other ways to do what he wants, but I'm curious about the cause of this error -- especially since ArchiCAD wrote the code. Any ideas?
1 REPLY 1
Frank Beister
Moderator
Try

MUL2 MAX(0.0001,A/52.425600), MAX(0.0001,B/1.000000)
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