License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2013-04-26 02:50 AM
2013-04-26 07:18 AM
2013-04-26 08:33 AM
2013-04-29 09:48 AM
All in 2D Script
unID=1
IF glob_context = 2 THEN
label_type = 1
ELSE
label_type = 2
ENDIF
ADD2 label_position[2][1]+label_position[3][1]+symb_a_size/2,label_position[2][2]+label_position[3][2]+symb_b_size/2
!!!======PLAN LABEL
IF label_type=1 THEN
!= HOTSPOT MOVEMENT
HOTSPOT2 0,offset[1][2],unID,offset[1][1],1+128 : unID=unID+1
HOTSPOT2 -1,offset[1][2],unID,offset[1][1],3 : unID=unID+1
HOTSPOT2 offset[1][1],offset[1][2],unID,offset[1][1],2 : unID=unID+1
HOTSPOT2 offset[1][1], 0, unID,offset[1][2],1+128 : unID=unID+1
HOTSPOT2 offset[1][1], -1, unID,offset[1][2],3 : unID=unID+1
HOTSPOT2 offset[1][1], offset[1][2], unID,offset[1][2],2 : unID=unID+1
ADD2 offset[1][1], offset[1][2]
LINE2 -.1, .2, .1, .2 !!==== PLACING THE TRIANGLE
LINE2 -.1, .2, 0, 0
LINE2 .1, .2, 0, 0
!DEL 1 !!========= USING THE DEL BREAKS THE HOTSPOTS
!= SECOND HOTSPOT MOVEMENT
HOTSPOT2 0, offset_e[1][2], unID,offset_e[1][1],1+128 : unID=unID+1
HOTSPOT2 -1, offset_e[1][2], unID,offset_e[1][1],3 : unID=unID+1
HOTSPOT2 offset_e[1][1], offset_e[1][2], unID,offset_e[1][1],2 : unID=unID+1
HOTSPOT2 offset_e[1][1], 0, unID,offset_e[1][2],1+128 : unID=unID+1
HOTSPOT2 offset_e[1][1], -1, unID,offset_e[1][2],3 : unID=unID+1
HOTSPOT2 offset_e[1][1], offset_e[1][2], unID,offset_e[1][2],2 : unID=unID+1
ADD2 offset_e[1][1], offset_e[1][2]
LINE2 -.1, .2, .1, .2 !!==== PLACING THE TRIANGLE
LINE2 -.1, .2, 0, 0
LINE2 .1, .2, 0, 0
ENDIF
!!!======ELEVATION LABEL
IF label_type = 2 THEN
!= HOTSPOT MOVEMENT
HOTSPOT2 0, offset[1][2], unID, offset[1][1],1+128 : unID=unID+1 !!=== HOTSPOT FOR ELE LABEL GOES HERE
HOTSPOT2 -1, offset[1][2], unID, offset[1][1],3 : unID=unID+1 !!=== DOING IT BEFORE THE GLOB_CONTEXT
HOTSPOT2 offset[1][1], offset[1][2], unID, offset[1][1],2 : unID=unID+1 !!=== MEANS IT DOESN'T BREAK!
HOTSPOT2 offset[1][1], 0, unID, offset[1][2],1+128 : unID=unID+1
HOTSPOT2 offset[1][1], -1, unID, offset[1][2],3 : unID=unID+1
HOTSPOT2 offset[1][1], offset[1][2], unID, offset[1][2],2 : unID=unID+1
ADD2 offset[1][1], offset[1][2]
!= SECOND HOTSPOT MOVEMENT
HOTSPOT2 0, offset_e[1][2], unID,offset_e[1][1],1+128 : unID=unID+1
HOTSPOT2 -1, offset_e[1][2], unID,offset_e[1][1],3 : unID=unID+1
HOTSPOT2 offset_e[1][1], offset_e[1][2], unID,offset_e[1][1],2 : unID=unID+1
HOTSPOT2 offset_e[1][1], 0, unID,offset_e[1][2],1+128 : unID=unID+1
HOTSPOT2 offset_e[1][1], -1, unID,offset_e[1][2],3 : unID=unID+1
HOTSPOT2 offset_e[1][1], offset_e[1][2], unID,offset_e[1][2],2 : unID=unID+1
RECT2 -.3,-.1,.3,.1
ENDIF
2013-04-30 02:49 AM
2013-04-30 02:59 AM
2013-04-30 08:11 AM
2013-05-02 08:54 AM