help with code
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-02-03 06:33 PM
‎2004-02-03
06:33 PM
200:!Only lines **Phone with height of symbol
!IF SYMB_POS_Z=18" THEN GOSUB 300
DEFINE STYLE STYLE_1 "Arial", 2.3,7,0
STYLE STYLE_1
PEN 3
rot2 -symb_rotangle!!!This rotate text to follow object
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)!!ZZYZX)
DEL 2
!!!!!THis is moveable text hotspot and text for more_text
DEFINE STYLE STYLE_4 "Arial", 2.3,7,0
STYLE STYLE_4
PEN 3
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
PEN 3
LINE2 34'-7.5542", -2'-11.9005", 34'-7.5542", -3'-10.6997"
LINE2 34'-7.5542", -2'-11.9005", 33'-8.7511", -3'-5.2981"
LINE2 33'-8.7511", -3'-5.2981", 34'-7.5542", -3'-10.6997"
LINE2 33'-8.7511", -3'-1.6997", 33'-8.7511", -3'-8.9005"
RETURN
It is giving me text and the symbol but the text is being rotated at some weird angle (not close to where the sybol is)how can I get the text not to rotate the weird angle but the symbol be able to rotate? I want the height of the object to be located near the object.
Thanks for any help,
Michele
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-02-03 06:54 PM
‎2004-02-03
06:54 PM
At first glance...
Your "Symbol" is defined statically as your "Text" is defined dynamically using the dynamic Hotspots.
If you want the two to work as one entity you'll need to modify the "Symbol" geometry to be dynamic also - With reference to the dynamic Hotspot start location (0,0).
Your "Symbol" is defined statically as your "Text" is defined dynamically using the dynamic Hotspots.
If you want the two to work as one entity you'll need to modify the "Symbol" geometry to be dynamic also - With reference to the dynamic Hotspot start location (0,0).
David Larrew, AIA, GDLA, GSRC
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-02-03 07:17 PM
‎2004-02-03
07:17 PM
Thanks David. I redefined the symbol with it starting at 0,0.
I'm glad you guys are listening and take the time to write back.
Thanks again,
Michele
I'm glad you guys are listening and take the time to write back.
Thanks again,
Michele