<?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 Orientation &amp;amp; Anchor in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131542#M15352</link>
    <description>If you have added your own text to the standard cube object in the default Archicad library then my guess is all you need to do is add a ROT command before the text to counter-act the object rotation that the user can set in the object settings dialogue.&lt;BR /&gt;
&lt;BR /&gt;
This will not counter-act the rotations that can be set in the parameters of the object but the 2D view is just a PROJECT2 and does not actually rotate anything in the script.&lt;BR /&gt;
&lt;BR /&gt;
So just add the red bits around your text2 command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0012"&gt;ROT2 -SYMB_ROTANGLE&lt;/FONT&gt;&lt;BR /&gt;
TEXT2 0,0, text_string&lt;BR /&gt;
&lt;FONT color="#ff0000"&gt;DEL 1&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If that is not it then you might want to share your script or object.&lt;BR /&gt;
Barry.</description>
    <pubDate>Wed, 21 Mar 2012 08:26:24 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2012-03-21T08:26:24Z</dc:date>
    <item>
      <title>Text Orientation &amp; Anchor</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131540#M15350</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello all - &lt;BR /&gt;
I'm having trouble with a relatively simple part.  All I want to do is modify the "Cube 12" library part so it displays some text that reads horizontally with its anchor point (which is the center of the text) at the exact center of the object regardless of the rotation of the object.  I can get the text to be at the center of the object, but cant for the life of me figure out how to make it stay horizontal AND still centered within the object when the object is rotated.  I am using it in conjunction with a basic equipment schedule so merely swapping the length &amp;amp; width parameters to achieve the same rotated effect would result in an additional line item in the schedule, which kinda defeats the purpose.  Basically I want the text to rotate about its anchor point &amp;amp; not the object origin point.  Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Mike&lt;BR /&gt;
AC13 -|- 2x2.66Ghz DC Intel -|-OSX10.6.8&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Mar 2012 22:44:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131540#M15350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T22:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Text Orientation &amp; Anchor</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131541#M15351</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
i'm not sure, but you may get the text within the coordinate transformations of Cube 12. It would be easier to help if you attach your modified object. Only if its public.&lt;BR /&gt;
&lt;BR /&gt;
regards,</description>
      <pubDate>Wed, 21 Mar 2012 07:19:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131541#M15351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-21T07:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text Orientation &amp; Anchor</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131542#M15352</link>
      <description>If you have added your own text to the standard cube object in the default Archicad library then my guess is all you need to do is add a ROT command before the text to counter-act the object rotation that the user can set in the object settings dialogue.&lt;BR /&gt;
&lt;BR /&gt;
This will not counter-act the rotations that can be set in the parameters of the object but the 2D view is just a PROJECT2 and does not actually rotate anything in the script.&lt;BR /&gt;
&lt;BR /&gt;
So just add the red bits around your text2 command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0012"&gt;ROT2 -SYMB_ROTANGLE&lt;/FONT&gt;&lt;BR /&gt;
TEXT2 0,0, text_string&lt;BR /&gt;
&lt;FONT color="#ff0000"&gt;DEL 1&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If that is not it then you might want to share your script or object.&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 21 Mar 2012 08:26:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-Orientation-amp-Anchor/m-p/131542#M15352</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-21T08:26:24Z</dc:date>
    </item>
  </channel>
</rss>

