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.

USER COORDINATE GLOBAL VARIABLE

vfrontiers
Enthusiast
Ok, I am sure this has been discussed, but a quick search found nothing...

I've looked thru the GDL Reference Manual, but cannot find a global variable for the UCS rotation....

I've got some old 2d objects that try to orient text always horizontal.. But, this ignores the UCS rotation so I need to add some code to counter this...


Hoping someone knows this off the top of their head...
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
2 REPLIES 2
Barry Kelly
Moderator
Is this what you are after?

REQUEST ("view_rotangle", "", angleViewRotation)
Returns the rotation angle of the current view.

Barry.
One of the forum moderators.
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
vfrontiers
Enthusiast
That must be it... Never occurred to me that it wasn't a GLOBAL... But makes sense, since you can have MANY of these in any given project..

Thanks!
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop