automatic A and B values Home › Forums › Problems and solutions in GDL › Object design › automatic A and B values This topic has 1 reply, 2 voices, and was last updated 7 months, 4 weeks ago by Barry Kelly. Viewing 1 reply thread Author Posts March 28, 2020 at 21:04 #18661 Luis cardosoParticipant 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 ENDIF 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 luis Attachments:Screenshot-86.png March 30, 2020 at 01:27 #18663 Barry KellyParticipant Answered over on Archicad-talk. https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=69433 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. Barry. 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 Author Posts Viewing 1 reply thread The forum ‘Object design’ is closed to new topics and replies.