Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Values of GLOB_CONTEXT

Wolf King
Newcomer
Well, I use GLOB_CONTEXT in my objects successfully. But I only use the value of 1, 2, 3, 4, 5, 6, 7.

I want to know when GLOB_CONTEXT will return 22, 23 and all the others.

I don't know what means for feed back plan or section. what means for feedback?

Thanks.
ArchiCAD v8.1 INT
11 REPLIES 11

Rob
Graphisoft
Graphisoft
When you have a library part with moveable hotspot (diamond shape) on plan and you will move it you will get the value of 22 (feedback form plan) in GLOB_CONTEXT global variable. It is a very same thingy for 3D window. So, basically you can respond to hospots 'moving' action within your lib part script.
::rk

Wolf King
Newcomer
Thank you, Rob. And what about 43, 44 and 46?
ArchiCAD v8.1 INT

Rob
Graphisoft
Graphisoft
Wolf,

I am not going to help you because I would like to know that as well. GS?? or anybody??
::rk

Wolf King
Newcomer
OK.

Thanks, Rob.
ArchiCAD v8.1 INT

F_ Beister
Newcomer
Where have you found the possible values 43, 44 and 46 of GLOB_CONTEXT?

Rob
Graphisoft
Graphisoft
Where have you found the possible values 43, 44 and 46 of GLOB_CONTEXT?
they have been mentioned in the AC help under GDL Reference manual/Global Variables/General Environment Info. I am still using AC8.1 so it could get changed with AC9.0 help...
::rk

Karl Ottenstein
Moderator
AC 9 GDL reference manual says:
1-library part editor, 2-floor plan, 3-3D view, 4-section/elevation, 5-settings dialog, 6-list, 7 - detail drawing, 22 - feedback mode from the floor plan, 23 - feedback mode from a
3Dview, 24 - feedback mode from a section/elevation, 43 - generating as an operator from a 3D view, 44 - generating as an operator from a section/elevation, 46 - generating as an
operator from a list
What does "generating as an operator" mean? That the object is an operator in a solid element op?

Karl
One of the forum moderators   •   AC 25 USA and earlier   •   MacOS 11.6.1, iMac Pro

Rob
Graphisoft
Graphisoft
I am just trying to keep this topic alive.

Guys from GS, could you give us at least rough explanation of what is going on with those numbers? Why would you bother to mention that in the help then?
::rk

LiHigh
Newcomer
Rob wrote:
When you have a library part with moveable hotspot (diamond shape) on plan and you will move it you will get the value of 22 (feedback form plan) in GLOB_CONTEXT global variable. It is a very same thingy for 3D window. So, basically you can respond to hospots 'moving' action within your lib part script.
I've tried it but didn't work as discribed!
Can GS please responds!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Howard Phua

Win 10, Archicad 19 INT

LiHigh
Newcomer
I found out that glob_context=22 only works for drawing elements but not TEXT2. What is GS thinking?
Luckily, there is a Workaround--script 3D text and use PROJECT2!
Howard Phua

Win 10, Archicad 19 INT

gkmethy
Graphisoft
Graphisoft
Guys from GS, could you give us at least rough explanation of what is going on with those numbers?
We added a chapter to our Technical Standards documantation on: http://download.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/ explaining the codes.
Go to Technical Standards / Ch.3.7 "GDL Execution Contexts"
Gergely Kmethy
Director of Customer Support Services
Graphisoft
Follow us on Twitter
GRAPHISOFT HelpCenter - the ArchiCAD knowledge base

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!