Here is code in an object and I can't get the text to show up. I copied the code from another object where the text works just fine. I added dd_x and dd_y to the parameters. Can anyone tell from the my code what I did wrong?? Thanks in advance,
Michele
1100: !square
PEN gs_cont_pen
RECT2 0,0,a_size,b_size
PEN 91
DEFINE STYLE STYLE_12 "Arial", 35 * MIN (a, b), 7, 2
!!!!!THis is moveable text hotspot and text for more_text
STYLE STYLE_12
PEN cpen
rot2 -symb_rotangle!!This rotate text to follow object
unID = 1
HOTSPOT2 0, dd_y,unID, dd_x,1+128 : unID=unID+1!!!THis is moveable hotspot placement
HOTSPOT2 -1, dd_y,unID, dd_x,3 : unID=unID+1
HOTSPOT2 dd_x,dd_y,unID, dd_x,2 : unID=unID+1
HOTSPOT2 dd_x, 0,unID, dd_y,1+128 : unID=unID+1
HOTSPOT2 dd_x, -1,unID, dd_y,3 : unID=unID+1
HOTSPOT2 dd_x,dd_y,unID, dd_y,2 : unID=unID+1
ADD2 dd_x, dd_y
TEXT2 0", 0",(descrip_equip)!!the 0",0" is text hotspot placement
DEL 2
PEN pen_clear
SET LINE_TYPE "TRI Demolition"
SET FILL "Air Space" !1' is a_size 2' is b_size
POLY2_B{2} 5, 3, 0, 0,
0'-0.0000", 0'-0.0000", 0'-0.0000",
0'-0.0000"-left, 0'-0.0000"-bottom_, 1,
a_size + right, 0'-0.0000"-bottom_, 1,
a_size+right, b_size+top_, 1,
0'-0.0000"-left, b_size+top_, 1,
0'-0.0000"-left, 0'-0.0000"-bottom_, 1
RETURN