Orientation GDL object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-08 11:18 PM
I use Archicad 20.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-10 03:21 AM
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-10 10:04 AM
Barry wrote:
Can you show a screen shot of what you mean?
Barry.
I draw evacuation plans. So I need to rotate the whole screen 180 degrees to be able to show the symbol "Here you are" correct and therefore I changes the axis of the view. It want the 2D symbols to be rotated so that they are always displayed correctly even when the display is turned 180 degrees.
I've tried to read the GDL Reference Guide and insert som sort of 2d script but I can't figure it out.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-10 10:55 AM
But you are rotating the entire plan so effectively the object is not rotating at all.
Off the top of my head I can't think of a way to determine (in GDL) the rotation angle of the plan.
It might be there somewhere so if anyone knows please say so.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-10 12:54 PM
Barry wrote:
If you are just rotating the object then you can check symb_rotangle to get the angle of rotation.
But you are rotating the entire plan so effectively the object is not rotating at all.
Off the top of my head I can't think of a way to determine (in GDL) the rotation angle of the plan.
It might be there somewhere so if anyone knows please say so.
Barry.
I want the symbols to always face upwards - even when a set direction to another angle.
Right now my work flow look like this. I make one plan/view for each evacuation plan and set out all the symbols for this view. Then a create another view, copy all symbols, rotate the plan, and also rotate the symbols. I want to avoid this moment and use same symbols in all drawings.
The symbol "North Arrow" do always face towards the north point. I want my 2D symbol to act like the north arrow and always face upwards. Text can be set to always display horisontal, even if you change the view och rotating the object.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-11 03:40 AM
i.e. ROT2 -symb_rotangle
This will undo the rotation of an object no matter what rotation angle you set for it..
GLOB_NORTH_DIR is used if you want to use the north direction.
However if you are using the orientation to rotate the entire plan view then all objects will rotate as well - even the north point because you will be rotating the north direction with the plan.
Plain text has an option to always be readable no matter how it is rotated.
But I don't think it is possible for objects to automatically un-rotate if you use the page orientation to rotate the entire view.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-12 07:00 PM
You can use REQUEST ("view_rotangle", "", angleViewRotation).
Best regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-13 02:35 AM
sinceV6 wrote:Yep, that is your solution.
Hi.
You can use REQUEST ("view_rotangle", "", angleViewRotation).
Best regards.
zzz=REQUEST ("view_rotangle", "", angleViewRotation) ROT2 -angleViewRotationThanks sinceV6
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-02-28 06:54 AM
The room tags are a custom object, by the way.
AC28, Artlantis 2020, TwinMotion
Mac Studio M2 Max 2024

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-02-28 07:12 AM
But a little trick I do is to add some text commands in the 2D script so you can see what is happening to your objects.
This will let you know what you need to do to un-rotate or un-mirror the text (or entire object).
TEXT2 0,0,SYMB_ROTANGLE !!undo with ROT2 -SYMB_ROTANGLE TEXT2 0,0,SYMB_MIRRORED !!undo with MUL2 -1,1 zzz=REQUEST ("view_rotangle", "", angleViewRotation) TEXT2 0,0,angleViewRotation !!undo with ROT2 -angleViewRotationIf you use all 3 at once you will need to adjust the x/y co-ordinates so all the text is not on top of each other.
I sometimes change the pen colour in between so I know which piece of text is which colour.
Comment out or delete these when you figure out what is happening.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11