2014-11-05 06:32 PM
2014-11-05 08:45 PM
2014-11-05 10:59 PM
mul2 A/0.474913, B/0.443089 add2 19'-3.5711", -24'-8.9653" pen penAttribute_1 hotspot2 -18'-8.8737", 24'-8.9653" hotspot2 -18'-8.8737", 25'-8.9653" hotspot2 -17'-8.8737", 25'-8.9653" hotspot2 -19'-0.2224", 25'-3.0683" hotspot2 -18'-3.0084", 25'-11.6875" pen penAttribute_2 line_property 0 line2 -18'-8.8737", 24'-8.9653", -18'-8.8737", 24'-8.9653" + (RoofSlope * 1") line2 -18'-8.8737", 24'-8.9653" + (RoofSlope * 1"), -17'-8.8737", 24'-8.9653" + (RoofSlope * 1") line2 -17'-8.8737", 24'-8.9653" + (RoofSlope * 1"), -18'-8.8737", 24'-8.9653" define style{2} "AC_STYLE_1" "Georgia", 8'-1.2222", 0 paragraph "AC_PRG_3" 2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 2'-3.5591" pen penAttribute_3 set style "AC_STYLE_1" "12" endparagraph textblock "AC_TEXTBLOCK_3" 0'-0.0000", 8, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701", "AC_PRG_3" richtext2 -18'-3.0084", 25'-8.9653" - (12" - (RoofSlope * 1")), "AC_TEXTBLOCK_3" paragraph "AC_PRG_4" 2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701" STR(RoofSlope) endparagraph textblock "AC_TEXTBLOCK_4" 0'-0.0000", 6, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701", "AC_PRG_4" richtext2 -18'-8.8737", 25'-3.0683" - ((12" - (RoofSlope * 1")) / 2), "AC_TEXTBLOCK_4"The problem is in fifth line from the bottom STR(RoofSlope)...Any ideas??
2014-11-05 11:16 PM
STR(RoofSlope,6,2)Best regards.
2014-11-05 11:28 PM
2014-11-06 12:00 AM
2014-11-10 08:06 PM
2014-11-10 10:36 PM
2014-11-11 12:09 AM
mul2 A/0.474913, B/0.443089 add2 19'-3.5711", -24'-8.9653" pen penAttribute_1 hotspot2 -18'-8.8737", 24'-8.9653" hotspot2 -18'-8.8737", 24'-8.9653" + (RoofSlope * 1") hotspot2 -17'-8.8737", 24'-8.9653" + (RoofSlope * 1") hotspot2 -19'-0.2224", 25'-3.0683" - ((12" - (RoofSlope * 1")) / 2) hotspot2 -18'-3.0084", 25'-11.6875" - (12" - (RoofSlope * 1")) pen penAttribute_2 line_property 0 line2 -18'-8.8737", 24'-8.9653", -18'-8.8737", 24'-8.9653" + (RoofSlope * 1") line2 -18'-8.8737", 24'-8.9653" + (RoofSlope * 1"), -17'-8.8737", 24'-8.9653" + (RoofSlope * 1") line2 -17'-8.8737", 24'-8.9653" + (RoofSlope * 1"), -18'-8.8737", 24'-8.9653" define style{2} "AC_STYLE_1" "Georgia", 8'-1.2222", 0 paragraph "AC_PRG_3" 2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 2'-3.5591" pen penAttribute_3 set style "AC_STYLE_1" "12" endparagraph textblock "AC_TEXTBLOCK_3" 0'-0.0000", 8, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701", "AC_PRG_3" add2 -18'-3.0084", 25'-8.9653" - (12" - (RoofSlope * 1")) viewRotation = 0 rrr = request("View_Rotangle", "", viewRotation) mul2 1 - 2*symb_mirrored, 1 if symb_rotangle > 91 and symb_rotangle < 271 then rot2 180 else rot2 0 endif richtext2 0, 0, "AC_TEXTBLOCK_3" del 3 paragraph "AC_PRG_4" 2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701" STR(RoofSlope,2,0) endparagraph textblock "AC_TEXTBLOCK_4" 0'-0.0000", 6, 0'-0.0000", 3'-3.3701", 3'-3.3701", 3'-3.3701", "AC_PRG_4" add2 -18'-8.8737", 25'-3.0683" - ((12" - (RoofSlope * 1")) / 2) viewRotation = 0 rrr = request("View_Rotangle", "", viewRotation) if symb_rotangle > 91 and symb_rotangle < 271 then rot2 180 else rot2 0 endif richtext2 0, 0, "AC_TEXTBLOCK_4" del 3I've placed also a screenshot that shows the problem when I mirror the object along the x axis.
===CORRECT TEXT ORIENTATION=== MUL2 1 - 2 * SYMB_MIRRORED, 1 ROT2 -SYMB_ROTANGLE * (SYMB_ROTANGLE <> 0)but I get a message that says "Use of real types can result in precision problems". I clicked "OK" but it didn't work....
2014-11-11 02:03 AM
TEXTBLOCK name, width, anchor, angle........So that might be the problem when mirroring.