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.

Mirroring an object

Anonymous
Not applicable
I have made a basic welding symbol object. How welding symbols work is you can not mirror the weld symbol because the info will be backwards. The size of the weld is always the first number therefore you can't just mirror the object in plan. I have a toggle within the object instead so I can still mirror the object but it will display it correctly.
I would like to put some additional code inside the object so if the object is mirrored in plan it converts the weld symbol to and error text message or something.
Is this possible?

Thank you for your time.

Thanks,
John
3 REPLIES 3
Karl Ottenstein
Moderator
See the GDL Reference Guide (Help menu - which is a link to the program's Documentation subfolder), Global Variables: SYMB_MIRRORED on page 337 (US AC 22 version of PDF).

You can perform an IF on this value to determine if the user has mirrored the object, and then 'un-mirror' it ... or perhaps just 'un-mirror' the text. If you haven't handled rotation and your object text yet ... SYMB_ROTANGLE will give you that, so that you can re-orient the text. Etc.

As an aside... since you're digging into GDL... many things don't show up in an obvious place in the Index at the back of the manual... e.g., no entry for Mirror. Instead, search the PDF with the Adobe Reader/Acrobat "Find" function for what you're looking for.
One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Karl Ottenstein
Moderator
Also, see if the GDL Help Center might not be, er, helpful. 🙂

Maybe this will help:

http://gdl.graphisoft.com/tips-and-tricks/how-to-make-an-always-readable-text-cs
One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Thanks Karl! That worked great. I thought there was code for this I just was not finding it in all the searches I was doing.
Great tip to look at the PDF and do a basic search to find the info.

Thanks again for your help.