Mirroring an object
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-01-17 08:36 PM
2019-01-17
08:36 PM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-01-17 10:36 PM
2019-01-17
10:36 PM
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.
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.
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-01-17 10:37 PM
2019-01-17
10:37 PM
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
Maybe this will help:
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-01-18 01:00 AM
2019-01-18
01:00 AM
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.
Great tip to look at the PDF and do a basic search to find the info.
Thanks again for your help.