I'm trying to get our V10 objects working in V12 and I get an error "Duplicate unID:1" when I load this object. How can I fix it? I think it was an error in V10 but for some reason we did't see the error box come up (we might have turned the error box off). I want to keep both of these text "placements" in the object.
Thanks,
Michele
DEFINE STYLE STYLE_1 "Arial", 35 * MIN (a, b), 7, 0
STYLE STYLE_1
PEN cpen
rot2 -symb_rotangle
unID = 1
HOTSPOT2 0, d_y,unID, d_x,1+128 : unID=unID+1
HOTSPOT2 -1, d_y,unID, d_x,3 : unID=unID+1
HOTSPOT2 d_x,d_y,unID, d_x,2 : unID=unID+1
HOTSPOT2 d_x, 0,unID, d_y,1+128 : unID=unID+1
HOTSPOT2 d_x, -1,unID, d_y,3 : unID=unID+1
HOTSPOT2 d_x,d_y,unID, d_y,2 : unID=unID+1
ADD2 d_x, d_y
TEXT2 0, 0, STR("%fi", GLOB_ELEVATION)
DEL 2
GOSUB 12
RETURN
12: !Movable text for every object variation
!!!!!THis is moveable text hotspot and text for more_text
STYLE STYLE_1
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",(more_text)!!the 0",0" is text hotspot placement
DEL 2
RETURN