cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Objects to not rotate in schedules

Hi,

for a while ago I hade problem that my objects that I've rotated is also rotated in Schedules this I solved with the code
if GLOB_CONTEXT = 2 then 
 SYMB_ROTANGLE = 0 
 endif 
Now I also saw that my angle node is also showing "rotatade" on my schedules.

How do I get my objects to not rotate in schedules

Node Angle.JPG
2 Replies 2
Barry Kelly
Moderator
Is this version 19 by any chance?
If so then GLOB_CONTEXT can no longer be relied upon.
It should still work with the latest hotfix for 19 with just a warning error message when scripting the object.
But maybe it isn't work properly in 19 now.
It definitely will not work with version 20 next year.

GLOB_CONTEXT has gone and has been replaced with other commands (that aren't as good in my opinion) - which you can get information on here ...

http://gdl.graphisoft.com/gdl-docs/changes-in-ac19/

NOTE these new commands can not be used in the parameter or master scripts.
They will only work in the 2D and 3D scripts as far as I know.

I have yet to sit down and try to work this out myself yet.

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
here is what i used, has worked so far. for v19

if GLOB_VIEW_TYPE = 9 then

script for schedule

else

script for 2d view

endif

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!