Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

View Orientation Parameter

Lachlan Green
Enthusiast
I'm putting together a new drawing title for the office. It's all GDL scripted and working pretty well so far. I'm trying to go a step further and incorporate a north point into the title which references the Project North point. ArchiCAD has a standard title that does this, however there's one problem I haven't found a way to overcome, the view orientation.

In the attached image the Arrow North Point is placed in the model space linked to the project north. In drawing one, the title north point matches it. However in drawing two when the view orientation has been rotated the title north point doesn't change.

Does anyone know if there is a parameter similar to the project north or drawing name that will call up the view's orientation?

North Point.jpg
Lachlan Green | Wilson Architects | BIM Manager, Architect
Started on AC9 | Currently AC27 & AC28 | BIMCloud | GDL
Mac Studio (14,13) M2 Max, 64GB, 1TB SSD | MacOS 14.7
3 REPLIES 3
rocorona
Booster
There is a "request" for the orientation of the view:
rrr = REQUEST ("view_rotangle", "", angleViewRotation)

After this statement the variable angleViewRotation will store the orientation value.
_________________

--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Lachlan Green
Enthusiast
Argh! That is so close.

That does return the view orientation angle. However it seems to only return the orientation of view the object is in. So in the model space, an object with that scripting will show the orientation value, as seen in Drawing 2 (Rotated 45).

However on a layout sheet where the orientation is always 0, it returns 0 (the orientation of the ‘view’ the drawing title object is in) and not 45 (the view orientation of the view the title is linked too) as it should in the drawing 2 title.

I'll play around and see if there's a 'drawing_view_rotangle' or something.

Thanks for the help.
Lachlan Green | Wilson Architects | BIM Manager, Architect
Started on AC9 | Currently AC27 & AC28 | BIMCloud | GDL
Mac Studio (14,13) M2 Max, 64GB, 1TB SSD | MacOS 14.7
Frank Beister
Moderator
Have you tried SYMB_ROTANGLE and additional AC_DrawingRect?
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm