<?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: Rotating Window/Door Marker Text in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94306#M31060</link>
    <description>&lt;BLOCKQUOTE&gt;farrelca wrote:&lt;BR /&gt;I have a very limited knowledge on gdl... is this something I would be able to do myself?&lt;/BLOCKQUOTE&gt;

It depends on how easily you can pick it up. The basic code to do this is:&lt;BR /&gt;

&lt;PRE&gt;mul2 GLOB_SCALE, GLOB_SCALE

DEFINE STYLE "text_style" "Arial", 2.5, 5, 0
STYLE text_style

Circle2 0, 0, 5/32"

IF SYMB_ROTANGLE &amp;gt; 90 &amp;amp; SYMB_ROTANGLE &amp;lt;= 270 THEN
	rot2 180
ENDIF

Text2 0, 0, AC_WIDO_ID&lt;/PRE&gt;

The AC_WIDO_ID is the parameter used by the door/window marker subtype to express the ID of the associated door or window.&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Also,  the text that appears in the window marker is derived from the I.D. number that I enter in "Listing and Labeling" for each window.  Should I change this so it references a &lt;B&gt;Text2&lt;/B&gt; number?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.&lt;/BLOCKQUOTE&gt;

I don't understand how you can get text to display on plan without the &lt;B&gt;Text2&lt;/B&gt; statement.</description>
    <pubDate>Mon, 09 Jul 2007 21:33:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-07-09T21:33:10Z</dc:date>
    <item>
      <title>Rotating Window/Door Marker Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94303#M31057</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have created a window marker from gdl script.  I am able to have the window marker rotate with the actual window, but I can't get the text in the window marker to rotate along with the marker and window.  The following is the script I have so far:&lt;BR /&gt;
&lt;BR /&gt;
unID = 1 &lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2      locX, 0,       unID, locY, 1+128 : unID = unID +1 &lt;BR /&gt;
HOTSPOT2      locX, -1,       unID, locY, 3: unID = unID +1 &lt;BR /&gt;
HOTSPOT2      locX, locY,    unID, locY, 2: unID = unID +1 &lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2      0, locY,       unID, locX, 1+128: unID = unID +1 &lt;BR /&gt;
HOTSPOT2      -1, locY,       unID, locX, 3: unID = unID +1 &lt;BR /&gt;
HOTSPOT2      locX, locY,   unID, locX, 2: unID = unID +1&lt;BR /&gt;
&lt;BR /&gt;
ADD2 locX, locY&lt;BR /&gt;
&lt;BR /&gt;
MUL2     GLOB_SCALE, GLOB_SCALE&lt;BR /&gt;
PEN         11&lt;BR /&gt;
HOTSPOT2 0', 0'-0.0774"&lt;BR /&gt;
HOTSPOT2 0', 0'&lt;BR /&gt;
HOTSPOT2 0', -0'-0.0716"&lt;BR /&gt;
HOTSPOT2 -0'-0.1492", 0'-0.0774"&lt;BR /&gt;
HOTSPOT2 -0'-0.2014", 0'-0.0029"&lt;BR /&gt;
HOTSPOT2 -0'-0.1492", -0'-0.0716"&lt;BR /&gt;
HOTSPOT2 0'-0.1492", 0'-0.0774"&lt;BR /&gt;
HOTSPOT2 0'-0.2014", 0'-0.0029"&lt;BR /&gt;
HOTSPOT2 0'-0.1492", -0'-0.0716"&lt;BR /&gt;
PEN         12&lt;BR /&gt;
LINE2    0', 0'-0.0774", 0', -0'-0.0716"&lt;BR /&gt;
LINE2    -0'-0.1492", 0'-0.0774", -0'-0.2014", 0'-0.0029"&lt;BR /&gt;
LINE2    -0'-0.1492", -0'-0.0716", -0'-0.2014", 0'-0.0029"&lt;BR /&gt;
LINE2    0'-0.1492", -0'-0.0716", 0'-0.2014", 0'-0.0029"&lt;BR /&gt;
LINE2    0'-0.1492", 0'-0.0774", 0'-0.2014", 0'-0.0029"&lt;BR /&gt;
LINE2    -0'-0.1492", 0'-0.0774", 0'-0.1492", 0'-0.0774"&lt;BR /&gt;
LINE2    -0'-0.1492", -0'-0.0716", 0'-0.1492", -0'-0.0716"&lt;BR /&gt;
PEN         11&lt;BR /&gt;
DEFINE STYLE    "AC_STYLE_1" "Arial Narrow Western", &lt;BR /&gt;
        8'-1.2222",      5,      0&lt;BR /&gt;
STYLE "AC_STYLE_1" &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If anyone has any ideas on how to fix this I would greatly appreciate it.  Thanks,&lt;BR /&gt;
farrelca&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:44:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94303#M31057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Window/Door Marker Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94304#M31058</link>
      <description>I don't see any &lt;B&gt;Text2&lt;/B&gt; statement in your script so it's hard to say.&lt;BR /&gt;
&lt;BR /&gt;
For rotating the text: If you want to keep the text horizontal to the page then you can use:&lt;BR /&gt;

&lt;PRE&gt;rot2 -SYMB_ROTANGLE
Text2 0, 0, AC_WIDO_ID
del 1&lt;/PRE&gt;

If you want the text to rotate with the wall this is a little more complicated since you have to correct for when it turns upside down or faces the wrong way.</description>
      <pubDate>Mon, 09 Jul 2007 17:53:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94304#M31058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T17:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Window/Door Marker Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94305#M31059</link>
      <description>&lt;BLOCKQUOTE&gt;If you want the text to rotate with the wall this is a little more complicated since you have to correct for when it turns upside down or faces the wrong way.&lt;/BLOCKQUOTE&gt;

That's what I am attempting to get to.  I have a very limited knowledge on gdl... is this something I would be able to do myself?&lt;BR /&gt;
&lt;BR /&gt;
Also,  the text that appears in the window marker is derived from the I.D. number that I enter in "Listing and Labeling" for each window.  Should I change this so it references a &lt;B&gt;Text2&lt;/B&gt; number?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.</description>
      <pubDate>Mon, 09 Jul 2007 18:36:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94305#M31059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Window/Door Marker Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94306#M31060</link>
      <description>&lt;BLOCKQUOTE&gt;farrelca wrote:&lt;BR /&gt;I have a very limited knowledge on gdl... is this something I would be able to do myself?&lt;/BLOCKQUOTE&gt;

It depends on how easily you can pick it up. The basic code to do this is:&lt;BR /&gt;

&lt;PRE&gt;mul2 GLOB_SCALE, GLOB_SCALE

DEFINE STYLE "text_style" "Arial", 2.5, 5, 0
STYLE text_style

Circle2 0, 0, 5/32"

IF SYMB_ROTANGLE &amp;gt; 90 &amp;amp; SYMB_ROTANGLE &amp;lt;= 270 THEN
	rot2 180
ENDIF

Text2 0, 0, AC_WIDO_ID&lt;/PRE&gt;

The AC_WIDO_ID is the parameter used by the door/window marker subtype to express the ID of the associated door or window.&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Also,  the text that appears in the window marker is derived from the I.D. number that I enter in "Listing and Labeling" for each window.  Should I change this so it references a &lt;B&gt;Text2&lt;/B&gt; number?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.&lt;/BLOCKQUOTE&gt;

I don't understand how you can get text to display on plan without the &lt;B&gt;Text2&lt;/B&gt; statement.</description>
      <pubDate>Mon, 09 Jul 2007 21:33:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94306#M31060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T21:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Window/Door Marker Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94307#M31061</link>
      <description>What you suggested worked out.  Thanks so much for your help.</description>
      <pubDate>Mon, 09 Jul 2007 22:10:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Rotating-Window-Door-Marker-Text/m-p/94307#M31061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-09T22:10:54Z</dc:date>
    </item>
  </channel>
</rss>

