<?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 Wall Label in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95491#M29869</link>
    <description>Labels are a pain to make work right (perhaps my main pet peeve). I have yet to find (or write) a wall tag that places itself properly and remains oriented to the wall. I know I met someone who managed it (for energy calcs) once. I would like to sort this one out.</description>
    <pubDate>Fri, 30 Nov 2007 14:57:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-11-30T14:57:01Z</dc:date>
    <item>
      <title>Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95488#M29866</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm hoping one of you GDL-gurus out there can help me with a little problem I'm experiencing with my wall labels.  The effect I'm after is a fixed text rotation of 0-degrees regardless of the orientation of the wall.  So, the wall label itself needs to respond perpendicularly to the orientation of the wall (which it does), but I'd like the text to ignore the orientation of both the wall and the label and always read horizontally (0-degrees).  Is there a variable that I can add into the 2d script to achieve this effect?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for your help!&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Nov 2007 19:09:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95488#M29866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-11-29T19:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95489#M29867</link>
      <description>There is a check-box option for text and label text to lock the angle of the text block.</description>
      <pubDate>Fri, 30 Nov 2007 02:44:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95489#M29867</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2007-11-30T02:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95490#M29868</link>
      <description>erika:&lt;BR /&gt;
&lt;BR /&gt;
thanks for the response.  however, i see no such checkbox.  the label i am using is an associative label under the wall tool in the label settings dialogue.  the label is set to reference the id of the wall and appear when i check the "label elements" box in the wall settings dialogue.  thus far, the label is doing its job nicely aside from the fact that the text within the label won't stay at a fixed rotation of 0-degrees as the wall orientation changes.</description>
      <pubDate>Fri, 30 Nov 2007 14:22:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95490#M29868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-11-30T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95491#M29869</link>
      <description>Labels are a pain to make work right (perhaps my main pet peeve). I have yet to find (or write) a wall tag that places itself properly and remains oriented to the wall. I know I met someone who managed it (for energy calcs) once. I would like to sort this one out.</description>
      <pubDate>Fri, 30 Nov 2007 14:57:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95491#M29869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-11-30T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95492#M29870</link>
      <description>With help from a GDL-savvy friend, I finally made some leeway with the text rotation.  It seems that adding the following lines forces the text to stay rotated at 0-degrees regardless of the orientation of the wall.  It's a start!&lt;BR /&gt;
&lt;BR /&gt;
!Add these lines below the label_position lines of the part&lt;BR /&gt;
if ww = 180 then ww = 0&lt;BR /&gt;
if ww = 270 then ww = 90&lt;BR /&gt;
rot2 ww+90&lt;BR /&gt;
if mir = 1 then rot2 180&lt;BR /&gt;
!Disable any other wall direction variables&lt;BR /&gt;
&lt;BR /&gt;
!Add these lines above the STYLE lines of the part&lt;BR /&gt;
rot2 -ww&lt;BR /&gt;
if mir = 1 then rot2 180&lt;BR /&gt;
&lt;BR /&gt;
Feel free to post any further thoughts or improvements and thanks for your input!</description>
      <pubDate>Mon, 03 Dec 2007 14:10:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95492#M29870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-03T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text Rotation in Wall Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95493#M29871</link>
      <description>&lt;BLOCKQUOTE&gt;Brian wrote:&lt;BR /&gt;Add these lines below the label_position lines of the part&lt;BR /&gt;
if ww = 180 then ww = 0&lt;BR /&gt;
if ww = 270 then ww = 90&lt;BR /&gt;
rot2 ww+90&lt;BR /&gt;
if mir = 1 then rot2 180&lt;BR /&gt;
!Disable any other wall direction variables
&lt;/BLOCKQUOTE&gt;

It is assumed that 'ww' and 'mir' are set elsewhere to represent the globals for wall direction and mirroring.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;
!Add these lines above the STYLE lines of the part&lt;BR /&gt;
rot2 -ww&lt;BR /&gt;
if mir = 1 then rot2 180
&lt;/BLOCKQUOTE&gt;

Technically, those ROT transformations just need to be before the TEXT2 statement(s), not the STYLE definition or directive. IMO, it's a good habit to put the transformations near the things you are moving.&lt;BR /&gt;
&lt;BR /&gt;
No nitpicking intended, just wanted to clarify. Looks like you're on your way though.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 03 Dec 2007 15:30:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Rotation-in-Wall-Label/m-p/95493#M29871</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2007-12-03T15:30:15Z</dc:date>
    </item>
  </channel>
</rss>

