Got a minute? We appreciate your feedback:

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

View Orientation Parameter

LGreen
Booster
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 | Architect | Drafter
AusBuild
AC23 & 25 | Windows 10 | Intel 11Gen Core i7 | 2.5GHz | 32GB RAM | Nvidia T1200
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
_________________
_________________

LGreen
Booster
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 | Architect | Drafter
AusBuild
AC23 & 25 | Windows 10 | Intel 11Gen Core i7 | 2.5GHz | 32GB RAM | Nvidia T1200

Frank Beister
Advocate
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

Start a new conversation!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!