automatic A and B values

Home Forums Problems and solutions in GDL Object design automatic A and B values

Viewing 1 reply thread
  • Author
    • #18661
      Luis cardoso

      Hey guys,

      I draw a lot in the 2d symbol putting things in different layers and using code like

      IF layer1=1 THEN
      FRAGMENT2 1,0

      for every layer so I can turn things on and off.

      The problem is the values of A and B don’t adjust automatically. I activated the “FIT size to 2D symbol” and the “create a bounding box”(compatibility options).

      in layer 1 there is a box of 100 X 200
      in layer 2 there is a box of 300 X 800

      Archicad makes a perfect bounding box depending on the layer but the values of A and B are entire layers limits so they end up being always A=300 B=800.

      Any code that i can make the A and B values= bounding box?

      Thanks in advance

    • #18663
      Barry Kelly

      Answered over on Archicad-talk.

      It is probably better to post in one forum or the other, and then if you get no reply try the other forum.
      It gets a bit tricky when the same conversation is happening on two different forums.


      Versions 6.5 to 22
      Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
      Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Viewing 1 reply thread
  • The forum ‘Object design’ is closed to new topics and replies.