<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text Rotation in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91835#M35304</link>
    <description>Thanks!&lt;BR /&gt;
&lt;BR /&gt;
That works great.</description>
    <pubDate>Wed, 07 Dec 2005 01:51:18 GMT</pubDate>
    <dc:creator>Red</dc:creator>
    <dc:date>2005-12-07T01:51:18Z</dc:date>
    <item>
      <title>Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91829#M35298</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Can text be scripted so that it automatically stays vertical as you rotate the object &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2005 16:31:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91829#M35298</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2005-12-06T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91830#M35299</link>
      <description>You need a statement like:&lt;BR /&gt;

&lt;PRE&gt;ROT2 -SYMB_ROTANGLE&lt;/PRE&gt;

to rotate the text by the negative of the angle the object is rotated.</description>
      <pubDate>Tue, 06 Dec 2005 16:36:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91830#M35299</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-12-06T16:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91831#M35300</link>
      <description>Can the text stay in it original position with the object and remain vertical?&lt;BR /&gt;
As you can see in the image I attached......once I rotate it the text is staying. I understand the reason behind it doing that with -SYMB_ROTANGLE.</description>
      <pubDate>Tue, 06 Dec 2005 17:41:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91831#M35300</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2005-12-06T17:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91832#M35301</link>
      <description>Check these:&lt;BR /&gt;
1) Make sure the text is center anchored (position #5)&lt;BR /&gt;
2) make sure the text origin is rotating with the symbol (i.e., after the ROT2 statement that rotates the rest of the symbol)&lt;BR /&gt;
3) Make sure there is no DEL statement which removes the ROT2 statement that rotates the rest of the symbol</description>
      <pubDate>Tue, 06 Dec 2005 18:18:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91832#M35301</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-12-06T18:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91833#M35302</link>
      <description>Here is my simple little code.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_redface.gif" style="display : inline;" /&gt; &lt;BR /&gt;

&lt;PRE&gt;RECT2 -1',-1',1',1'
LINE2 1',-1',3',0
LINE2 1',1',3',0

HOTSPOT2 0,0
HOTSPOT2 3',0

DEFINE STYLE    "STYLE" architxt, 
		6,      5,      0
SET STYLE "STYLE"

ROT2 -SYMB_ROTANGLE

TEXT2 0,-1", txt
TEXT2 1'-7",-1", txt2&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Dec 2005 18:26:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91833#M35302</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2005-12-06T18:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91834#M35303</link>
      <description>&lt;BLOCKQUOTE&gt;TomWaltz wrote:&lt;BR /&gt;&lt;PRE&gt;ROT2 -SYMB_ROTANGLE&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;

Mirroring can come into it also. This covers both cases:&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;IF SYMB_MIRRORED=1 THEN ROT2 SYMB_ROTANGLE   !! mirrored
IF SYMB_MIRRORED=0 THEN ROT2 -SYMB_ROTANGLE  !! not
&lt;/PRE&gt;

I still prefer V~ &amp;amp; W~.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="red"&gt;Red&lt;/FONT&gt;: Use ADD2 before the TEXT2s instead of putting values in the TEXT statements. Put the ROT2s directly before the TEXT2s. &lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;ADD2 X1, Y1
IF SYMB_MIRRORED=1 THEN ROT2 SYMB_ROTANGLE   !! mirrored
IF SYMB_MIRRORED=0 THEN ROT2 -SYMB_ROTANGLE  !! not
TEXT2 0, 0, txt
DEL 2

ADD2 X2, Y2
IF SYMB_MIRRORED=1 THEN ROT2 SYMB_ROTANGLE   !! mirrored
IF SYMB_MIRRORED=0 THEN ROT2 -SYMB_ROTANGLE  !! not
TEXT2 0, 0, txt2
DEL 2
&lt;/PRE&gt;

So it's: Go there, turn, write, go back; repeat.&lt;BR /&gt;
&lt;BR /&gt;
About the 5th thing I ever tried in GDL was a section marker, and I still have the bruises on my brain from getting text to flip right. Good luck.</description>
      <pubDate>Tue, 06 Dec 2005 20:55:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91834#M35303</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2005-12-06T20:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91835#M35304</link>
      <description>Thanks!&lt;BR /&gt;
&lt;BR /&gt;
That works great.</description>
      <pubDate>Wed, 07 Dec 2005 01:51:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91835#M35304</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2005-12-07T01:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91836#M35305</link>
      <description>Results...............</description>
      <pubDate>Wed, 07 Dec 2005 02:00:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91836#M35305</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2005-12-07T02:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91837#M35306</link>
      <description>&lt;BLOCKQUOTE&gt;Red wrote:&lt;BR /&gt;Results...............&lt;/BLOCKQUOTE&gt;

Great!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 13:07:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation/m-p/91837#M35306</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2005-12-07T13:07:15Z</dc:date>
    </item>
  </channel>
</rss>

