<?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: ROT2 TEXT ON LINE2 in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294997#M7660</link>
    <description>Hi.&lt;BR /&gt;
Also, if this is for the polyline script I made, you should place ROT2 command after the ADD2 command: if you rotate first you are not moving in the right direction.&lt;BR /&gt;
&lt;BR /&gt;
You first move to the current point in the array (add2), then you rotate the coordinate system (rot2), then you place your text, then you delete these transformations (del 2) to start the next iteration.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;
Best regards.</description>
    <pubDate>Fri, 01 Jul 2016 15:43:59 GMT</pubDate>
    <dc:creator>sinceV6</dc:creator>
    <dc:date>2016-07-01T15:43:59Z</dc:date>
    <item>
      <title>ROT2 TEXT ON LINE2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294995#M7658</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have problem with rotate text on line2.&lt;BR /&gt;
When I put to script ROT2 alfa&lt;I&gt;, so text (line size) put away from line and I dont know, why do that and How to fix it.  Alfa is allright and insertXHotspot, too - I checked it computationally and manually.&lt;BR /&gt;
Can you help me?&lt;BR /&gt;
&lt;BR /&gt;
------&lt;BR /&gt;
Script:&lt;BR /&gt;
DEFINE STYLE "style1" Arial, font_size,2, 0 &lt;BR /&gt;
SET STYLE "style1"&lt;BR /&gt;
&lt;BR /&gt;
FOR i=1 to point-1&lt;BR /&gt;
ROT2 alfa&lt;I&gt;&lt;BR /&gt;
ADD2 insertXHotspot&lt;I&gt;,insertYHotspot&lt;I&gt;&lt;BR /&gt;
text2 0,0, STR (line_size2D&lt;I&gt;,2,0)&lt;BR /&gt;
Del i+1&lt;BR /&gt;
next i&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6826i73BEE20C48CA2AD3/image-size/large?v=v2&amp;amp;px=999" border="0" alt="screen.jpg" title="screen.jpg" /&gt;</description>
      <pubDate>Fri, 01 Jul 2016 07:56:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294995#M7658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-01T07:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: ROT2 TEXT ON LINE2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294996#M7659</link>
      <description>At a quick glance it is your DEL i+1.&lt;BR /&gt;
For the first line segment you will be deleting 2 transformations (1+1), for the second line segment you will be deleting 3 transformations (2+1), for the third 4 transformations (3+1), etc.&lt;BR /&gt;
But you are only performing 2 transformations for each segment (ROT2 and ADD2)&lt;BR /&gt;
Try just DEL 2.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 01 Jul 2016 08:33:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294996#M7659</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2016-07-01T08:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: ROT2 TEXT ON LINE2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294997#M7660</link>
      <description>Hi.&lt;BR /&gt;
Also, if this is for the polyline script I made, you should place ROT2 command after the ADD2 command: if you rotate first you are not moving in the right direction.&lt;BR /&gt;
&lt;BR /&gt;
You first move to the current point in the array (add2), then you rotate the coordinate system (rot2), then you place your text, then you delete these transformations (del 2) to start the next iteration.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;
Best regards.</description>
      <pubDate>Fri, 01 Jul 2016 15:43:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ROT2-TEXT-ON-LINE2/m-p/294997#M7660</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2016-07-01T15:43:59Z</dc:date>
    </item>
  </channel>
</rss>

