SOLVED!
How do I rotate objects acording to view rotation?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-09
02:40 PM
- last edited on
‎2021-09-14
09:48 AM
by
Noemi Balogh
‎2021-03-09
02:40 PM
I have some symbols that I want to rotate according to view rotation? I was thinking that a simple Rot2 command should do it, but how do I get the view rotation? Example please, I have been away from GDL writing for so many years... 

🙂 Odd Goderstad
GS Norge
Oslo, Norway
Always the latest version ArchiCAD mostly on Windows
twitter: @OddGoderstad
GS Norge
Oslo, Norway
Always the latest version ArchiCAD mostly on Windows
twitter: @OddGoderstad
Solved! Go to Solution.
Labels:
- Labels:
-
Library (GDL)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-09 02:51 PM
‎2021-03-09
02:51 PM
Odd Goderstad:
From the GDL Reference Guide:
David
From the GDL Reference Guide:
n = REQUEST ("view_rotangle", "", angleViewRotation)You can then use the returned value to rotate all or part of the object.
Returns the rotation angle of the current view. Expression returns 0 and contains dummy return values (emtpy string or 0) if used in parameter script, causing additional warning
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
2 REPLIES 2
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-09 02:51 PM
‎2021-03-09
02:51 PM
Odd Goderstad:
From the GDL Reference Guide:
David
From the GDL Reference Guide:
n = REQUEST ("view_rotangle", "", angleViewRotation)You can then use the returned value to rotate all or part of the object.
Returns the rotation angle of the current view. Expression returns 0 and contains dummy return values (emtpy string or 0) if used in parameter script, causing additional warning
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-10 08:49 AM
‎2021-03-10
08:49 AM
Thanks a lot, I will try

🙂 Odd Goderstad
GS Norge
Oslo, Norway
Always the latest version ArchiCAD mostly on Windows
twitter: @OddGoderstad
GS Norge
Oslo, Norway
Always the latest version ArchiCAD mostly on Windows
twitter: @OddGoderstad