Okay, I thought I'd make the text moveable so if it is ON the object then you can move it. What the HECK is wrong with my code. It worked jsut fine in my other project (I know there probably was other code) Does anyone know why it isn't working? I thought I copied over everything that I needed. THe text shows up and I see the moveable hotspot. I even get the box that comes up showing me that the text is moving but in the end the text stays put.
Thanks again,
Michele
Here's all the code in 2D
HOTSPOT2 0,0
HOTSPOT2 a_size,0
HOTSPOT2 a_size/2,0 !down
HOTSPOT2 a_size,b_size
HOTSPOT2 0,b_size
!hotspot @ clearances
HOTSPOT2 0'-0.0000"-left, 0'-0.0000"-bottom_
HOTSPOT2 a_size + right, 0'-0.0000"-bottom_
HOTSPOT2 a_size+right, b_size+top_
HOTSPOT2 0'-0.0000"-left, b_size+top_
HOTSPOT2 0'-0.0000"-left, 0'-0.0000"-bottom_
PEN gs_cont_pen
RECT2 0,0,a_size,b_size
PEN 91
DEFINE STYLE STYLE_12 "Arial", text_size, 7, 6
!!!!!THis is moveable text hotspot and text for descrip_equip
STYLE STYLE_12
PEN 91
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 3", 3",(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