2021-03-0902:40 PM - last edited on 2021-09-1409:48 AM by Noemi Balogh
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
Always the latest version ArchiCAD mostly on Windows
n = REQUEST ("view_rotangle", "", angleViewRotation)
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
You can then use the returned value to rotate all or part of the object.