cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Task

Anonymous
Not applicable
PEN 1
HOTSPOT2 A,0
HOTSPOT2 0,B
Agreed_Value =0 ! When object is stretching
Agreed_Value =1 ! When object is installing
IF STR("%m",SYMB_ROTANGLE)=STR("%m",180) THEN ROT2 180
TEXT2 0,0, Agreed_Value

How to do that value Agreed_Value = 1 when object is installing and Agreed_Value =0 when object is stretching?
Thanks.

task.jpg
1 REPLY 1
Anonymous
Not applicable
One of the values you are looking for is supplied by the global parameter GLOB_CONTEXT.

The applicable values are:
22 - feedback mode from the floor plan
23 - feedback mode from a 3Dview
24 - feedback mode from a section/elevation
28 - feedback mode from a layout

These are the returned value while the user is stretching the element in each of the view types.

I am not sure what you mean by "When the object is installing", unless it is simply when it is not being stretched (ie. GLOB_CONTEXT # 22 etc.)