<?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: Adding Text rotation to a Custom Object? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295378#M9369</link>
    <description>Hello Moderators (Barry, LaszloNagy,David) ,&lt;BR /&gt;
&lt;BR /&gt;
Thank you, I understand. Like I said I am not familiar with this forum. It's still fairly new to me. My apologize for misunderstanding. &lt;BR /&gt;
Whoever want to grab this first. Be my guest. Thank you for a quick response. I appreciated it. &lt;BR /&gt;
&lt;BR /&gt;
Let's see if I can make a zip attachment and give to one of you guys or 2D Script below. Either way that works for your efficient. &lt;BR /&gt;
&lt;BR /&gt;
Copy and paste 2d Script if you want.....&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : North Direction.gsm&lt;BR /&gt;
!   Date     : Tuesday, January 29, 2019&lt;BR /&gt;
!   Version  : 17.00&lt;BR /&gt;
!   Written by ArchiCAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mul2     A/12.693534, B/45.114999&lt;BR /&gt;
add2     1270'-9.2648", 141'-6.3966"&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
fill fillAttribute_1&lt;BR /&gt;
poly2_b{5}       5,      3,      0,      3, penAttribute_1, penAttribute_2, &lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", &lt;BR /&gt;
        -1249'-11.3921", -64'-9.9344",      1, &lt;BR /&gt;
        -1249'-11.3921", -53'-3.1682",      1, &lt;BR /&gt;
        -1249'-11.3921", 6'-5.7845",      1, &lt;BR /&gt;
        -1259'-9.2211", -64'-9.9344",      1, &lt;BR /&gt;
        -1249'-11.3921", -64'-9.9344",      1&lt;BR /&gt;
pen     penAttribute_3&lt;BR /&gt;
hotspot2 -1249'-11.3921", -141'-6.3966"&lt;BR /&gt;
hotspot2 -1249'-11.3921", 6'-5.7845"&lt;BR /&gt;
hotspot2 -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
hotspot2 -1259'-9.2211", -64'-9.9344"&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
set line_type lineTypeAttribute_1&lt;BR /&gt;
line_property       0&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1249'-11.3921", -141'-6.3966"&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1259'-9.2211", -64'-9.9344"&lt;BR /&gt;
line2    -1259'-9.2211", -64'-9.9344", -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
define style{2}    "AC_STYLE_1" "Arial", 1735'-2.7262",      0&lt;BR /&gt;
&lt;BR /&gt;
paragraph		"AC_PRG_2"      2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701"&lt;BR /&gt;
    pen     penAttribute_4&lt;BR /&gt;
    set style "AC_STYLE_1"&lt;BR /&gt;
        "N"&lt;BR /&gt;
endparagraph&lt;BR /&gt;
textblock		"AC_TEXTBLOCK_2" 3470'-5.4523",      5, 1181'-1.2283", 3'-3.3701", 3'-3.3701", 3'-3.3701", &lt;BR /&gt;
        "AC_PRG_2"&lt;BR /&gt;
richtext2		-1249'-11.3921", -91'-10.0197", "AC_TEXTBLOCK_2"</description>
    <pubDate>Tue, 29 Jan 2019 18:50:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-29T18:50:27Z</dc:date>
    <item>
      <title>Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295363#M9354</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;how best to do this?&lt;BR /&gt;
Im sure it's just a line or two I have to add....but not sure where and in what position along the parameters.&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
(see attached).&lt;BR /&gt;
I just want the ability to be able to rotate the "text" inside the box to any angle I need it.&lt;BR /&gt;
&lt;BR /&gt;
thanks for you help in advance.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/7670iE08068FF3047029F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="TEXT-PARAMETER-ROTATION-SMALL.jpg" title="TEXT-PARAMETER-ROTATION-SMALL.jpg" /&gt;</description>
      <pubDate>Mon, 07 Sep 2015 17:32:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295363#M9354</guid>
      <dc:creator>rob2218</dc:creator>
      <dc:date>2015-09-07T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295364#M9355</link>
      <description>Seems you have asked this before.&lt;BR /&gt;
Does this help at all?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=240617&amp;amp;highlight=rotate+text#240617" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... ext#240617"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=240617&amp;amp;highlight=rotate+text#240617&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 08 Sep 2015 01:28:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295364#M9355</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-09-08T01:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295365#M9356</link>
      <description>Rob, &lt;BR /&gt;
&lt;BR /&gt;
1. Create an angle parameter for the rotation (let's say you call this ang). &lt;BR /&gt;
&lt;BR /&gt;
2. Locate the text statement. In your case, this is likely not a TEXT2 command since it appears to be an auto scripted object. More likely it is a RICHTEXT2 statement. &lt;BR /&gt;
&lt;BR /&gt;
3 Just before the text command, insert a "ROT2 ang" command. This command has a single argument which will be the parameter you created in step 1.&lt;BR /&gt;
&lt;BR /&gt;
4. Just after the text command, insert a "DEL 1" command to cease the rotation.</description>
      <pubDate>Tue, 08 Sep 2015 01:29:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295365#M9356</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2015-09-08T01:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295366#M9357</link>
      <description>ok, perhaps this is why I was not able to insert it before, cause I had "not a clue" where to even add this text to the script.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/7052i91CC3B2DBC7346A6/image-size/large?v=v2&amp;amp;px=999" border="0" alt="TEXT-PARAMETER-ROTATION-script-SMALL.jpg" title="TEXT-PARAMETER-ROTATION-script-SMALL.jpg" /&gt;</description>
      <pubDate>Tue, 08 Sep 2015 01:40:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295366#M9357</guid>
      <dc:creator>rob2218</dc:creator>
      <dc:date>2015-09-08T01:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295367#M9358</link>
      <description>You see the RICHTEXT2 statement at the bottom of the script? Add the rotation just before and and DEL just after that command.</description>
      <pubDate>Tue, 08 Sep 2015 02:22:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295367#M9358</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2015-09-08T02:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295368#M9359</link>
      <description>It is the very last line in your image - the 'RICHTEXT2' command.&lt;BR /&gt;
&lt;BR /&gt;
Because it has x &amp;amp; y co-ordinates included in the command you will want to separate that out as an ADD2 command and then the RICHTEXT2 command.&lt;BR /&gt;
So effectively you move to the text location and then rotate it.&lt;BR /&gt;
Otherwise you will be rotating the text around a distant origin.&lt;BR /&gt;
&lt;BR /&gt;
So change ....&lt;BR /&gt;

&lt;PRE&gt;RICHTEXT2 2'-8.9646", 7'-0.0923", "AC_TEXTBLOCK_6"&lt;/PRE&gt;

&lt;BR /&gt;
to ...&lt;BR /&gt;

&lt;PRE&gt;ADD2 2'-8.9646", 7'-0.0923"
ROT2 -symb_rotangle 
RICHTEXT2 0, 0, "AC_TEXTBLOCK_6"
DEL 2
&lt;/PRE&gt;

This will automatically rotate the text regardless of the object rotation.&lt;BR /&gt;
&lt;BR /&gt;
Or you could create an angle parameter called "rot_text".&lt;BR /&gt;
Then change the script to this ...&lt;BR /&gt;

&lt;PRE&gt;ADD2 2'-8.9646", 7'-0.0923"
ROT2 rot_text
RICHTEXT2 0, 0, "AC_TEXTBLOCK_6"
DEL 2&lt;/PRE&gt;

This will allow you as the user to change the parameter in the object to rotate the text to any angle you want.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 08 Sep 2015 02:26:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295368#M9359</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-09-08T02:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295369#M9360</link>
      <description>Actually, I take that back (a bit). The RICHTEXT2 in your example has an associated movement (the first two arguments) so you will also likely need to move your center of rotation as well. It may serve you best to delete the movement from within the RICHTEXT2 and add it before your new rotation with the ADD2 command and then use DEL 2 rather than DEL 1 so you can cancel both movements (the ADD2 and the ROT2).&lt;BR /&gt;
&lt;BR /&gt;
If you don't do this, then it is very likely that your rotated text will end up somewhere you don't want it to be.&lt;BR /&gt;
&lt;BR /&gt;
ed: Barry you just beat me with your example.</description>
      <pubDate>Tue, 08 Sep 2015 02:26:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295369#M9360</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2015-09-08T02:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295370#M9361</link>
      <description>Barry or Erich,&lt;BR /&gt;
&lt;BR /&gt;
I'm having hard time to comprehending this because of English is my second language. I tend to use visual to understand things better such as youtube (some kind of video instruction) or screenshot pointing out where it is error. &lt;BR /&gt;
&lt;BR /&gt;
I attempted this for so long time and has not been achieve. Can you take look at my screenshot and see what I do wrong. I thought I tried your instruction but it doesn't work? The problem with text itself is disappearing. I was like where it goes. I am not sure. &lt;BR /&gt;
&lt;BR /&gt;
It'd be nice to have you copy my screenshot and point it out state it is wrong position to place in. I only have been achieve with basic stuff like basic text change like ABC to other ABC. But, I was not able to do rotation properly. I am wondering if I am doing something wrong because I want to be able to achieve text changes or rotation, but I have been achieve with text changes. I really want to beat the rotation to work. Haha.&lt;BR /&gt;
&lt;BR /&gt;
Here is the screenshot and take look at it and let me know where I do wrong. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Thank you for your time.</description>
      <pubDate>Tue, 15 Jan 2019 19:01:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295370#M9361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-15T19:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295371#M9362</link>
      <description>&lt;BLOCKQUOTE&gt;cadpg wrote:&lt;BR /&gt;let me know where I do wrong. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt; &lt;/BLOCKQUOTE&gt;
While I'm far from experienced with GDL myself, I'm guessing it's the last RICHTEXT2 line in the script that overwrites the previously added script for RICHTEXT2 at the top? &lt;BR /&gt;
&lt;BR /&gt;
Try removing the RICHTEXT2 script at the bottom and see if it helps.</description>
      <pubDate>Wed, 16 Jan 2019 01:22:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295371#M9362</guid>
      <dc:creator>Emil Meijer</dc:creator>
      <dc:date>2019-01-16T01:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295372#M9363</link>
      <description>Emil,&lt;BR /&gt;
&lt;BR /&gt;
Nope, it doesn't solve the problem. Still having error for some reason. The text itself still disappearing. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
It'd be nice to have a video to explain how it works with simple text rotation. Sigh.</description>
      <pubDate>Wed, 16 Jan 2019 18:38:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295372#M9363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-16T18:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295373#M9364</link>
      <description>I thought to add the screenshot to show you guys because the text has not been succeed. It disappears. &lt;BR /&gt;
&lt;BR /&gt;
Thought to share with you for the scripts.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your time.&lt;BR /&gt;
&lt;BR /&gt;
Hope someone will help me to fix this. That is text rotation I need it really badly. I have a lot of text with 2d lines objects that need to be rotating.</description>
      <pubDate>Thu, 17 Jan 2019 18:43:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295373#M9364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-17T18:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295374#M9365</link>
      <description>Moderators,&lt;BR /&gt;
&lt;BR /&gt;
Its almost two weeks that I have not heard from any of you.&lt;BR /&gt;
&lt;BR /&gt;
I tried with GDL Cookbook called "Intro to Object Making" published 2000. I find no solution of  2D objects especially I attempted to learning how to create 3D objects which it was cool to learn. I was somewhat disappointing that 2D objects has not been really achieve. I am trying to find a solution for 2D text rotating with Lines objects. &lt;BR /&gt;
&lt;BR /&gt;
Hope you guys will review with my old posts and see what I do wrong. Visual description would be great! It would point out where i did wrong or whatever.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Mon, 28 Jan 2019 19:56:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295374#M9365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-28T19:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295375#M9366</link>
      <description>The screen shot is great but could you please copy and paste the text form the 2D script.&lt;BR /&gt;
I am too lazy to type it out myself. &lt;BR /&gt;
If I get a spare moment I will have a look at it.&lt;BR /&gt;
&lt;BR /&gt;
I think in your image the RICHTEXT2 command needs to be after the PARAGRAPH and TEXTBLOCK commands, and not at the beginning of the script.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
But basically to rotate the text you need to add a ROT command just before placing the text (i.e. just before the RICHTEXT2 command).&lt;BR /&gt;
So you control the position of where you want to place the text Then ROT and then place the text.&lt;BR /&gt;
Then DEL to stop the ROT and further DELs if you want to undo the movements to place the text (i.e. reset your origin).&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 29 Jan 2019 01:35:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295375#M9366</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-01-29T01:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295376#M9367</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
The screen shot is great but could you please copy and paste the text form the 2D script.&lt;BR /&gt;
I am too lazy to type it out myself.&lt;/BLOCKQUOTE&gt;
Best would be to zip and attach the object. It takes time to recreate not only the code but the parameters driving the code.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 29 Jan 2019 14:14:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295376#M9367</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2019-01-29T14:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295377#M9368</link>
      <description>&lt;BLOCKQUOTE&gt;cadpg wrote:&lt;BR /&gt;
Moderators,&lt;BR /&gt;
&lt;BR /&gt;
Its almost two weeks that I have not heard from any of you.&lt;BR /&gt;
&lt;BR /&gt;
I tried with GDL Cookbook called "Intro to Object Making" published 2000. I find no solution of  2D objects especially I attempted to learning how to create 3D objects which it was cool to learn. I was somewhat disappointing that 2D objects has not been really achieve. I am trying to find a solution for 2D text rotating with Lines objects. &lt;BR /&gt;
&lt;BR /&gt;
Hope you guys will review with my old posts and see what I do wrong. Visual description would be great! It would point out where i did wrong or whatever.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
I think you are misunderstanding something here.&lt;BR /&gt;
This is a user forum where users are helping each other if they can. However, it cannot be either forced or expected that someone will help you. That is just the nature of user forums.</description>
      <pubDate>Tue, 29 Jan 2019 15:05:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295377#M9368</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2019-01-29T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295378#M9369</link>
      <description>Hello Moderators (Barry, LaszloNagy,David) ,&lt;BR /&gt;
&lt;BR /&gt;
Thank you, I understand. Like I said I am not familiar with this forum. It's still fairly new to me. My apologize for misunderstanding. &lt;BR /&gt;
Whoever want to grab this first. Be my guest. Thank you for a quick response. I appreciated it. &lt;BR /&gt;
&lt;BR /&gt;
Let's see if I can make a zip attachment and give to one of you guys or 2D Script below. Either way that works for your efficient. &lt;BR /&gt;
&lt;BR /&gt;
Copy and paste 2d Script if you want.....&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : North Direction.gsm&lt;BR /&gt;
!   Date     : Tuesday, January 29, 2019&lt;BR /&gt;
!   Version  : 17.00&lt;BR /&gt;
!   Written by ArchiCAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mul2     A/12.693534, B/45.114999&lt;BR /&gt;
add2     1270'-9.2648", 141'-6.3966"&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
fill fillAttribute_1&lt;BR /&gt;
poly2_b{5}       5,      3,      0,      3, penAttribute_1, penAttribute_2, &lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", &lt;BR /&gt;
        -1249'-11.3921", -64'-9.9344",      1, &lt;BR /&gt;
        -1249'-11.3921", -53'-3.1682",      1, &lt;BR /&gt;
        -1249'-11.3921", 6'-5.7845",      1, &lt;BR /&gt;
        -1259'-9.2211", -64'-9.9344",      1, &lt;BR /&gt;
        -1249'-11.3921", -64'-9.9344",      1&lt;BR /&gt;
pen     penAttribute_3&lt;BR /&gt;
hotspot2 -1249'-11.3921", -141'-6.3966"&lt;BR /&gt;
hotspot2 -1249'-11.3921", 6'-5.7845"&lt;BR /&gt;
hotspot2 -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
hotspot2 -1259'-9.2211", -64'-9.9344"&lt;BR /&gt;
pen     penAttribute_1&lt;BR /&gt;
set line_type lineTypeAttribute_1&lt;BR /&gt;
line_property       0&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1249'-11.3921", -141'-6.3966"&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1259'-9.2211", -64'-9.9344"&lt;BR /&gt;
line2    -1259'-9.2211", -64'-9.9344", -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
line2    -1249'-11.3921", 6'-5.7845", -1240'-1.5632", -64'-9.9344"&lt;BR /&gt;
define style{2}    "AC_STYLE_1" "Arial", 1735'-2.7262",      0&lt;BR /&gt;
&lt;BR /&gt;
paragraph		"AC_PRG_2"      2, 0'-0.0000", 0'-0.0000", 0'-0.0000", 3'-3.3701"&lt;BR /&gt;
    pen     penAttribute_4&lt;BR /&gt;
    set style "AC_STYLE_1"&lt;BR /&gt;
        "N"&lt;BR /&gt;
endparagraph&lt;BR /&gt;
textblock		"AC_TEXTBLOCK_2" 3470'-5.4523",      5, 1181'-1.2283", 3'-3.3701", 3'-3.3701", 3'-3.3701", &lt;BR /&gt;
        "AC_PRG_2"&lt;BR /&gt;
richtext2		-1249'-11.3921", -91'-10.0197", "AC_TEXTBLOCK_2"</description>
      <pubDate>Tue, 29 Jan 2019 18:50:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295378#M9369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T18:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295379#M9370</link>
      <description>I had a look at your object and there are a couple of things you need to do.&lt;BR /&gt;
&lt;BR /&gt;
Change the text rotation parameter to and 'angle' type variable rather than a real number.&lt;BR /&gt;
&lt;BR /&gt;



&lt;BR /&gt;
Now use that variable in the TEXTBLOCK command.&lt;BR /&gt;
You don't need a separate ROT command as I had said before.&lt;BR /&gt;
I keep forgetting the TEXTBLOCK has a rotation option built into it.&lt;BR /&gt;
&lt;BR /&gt;






&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 30 Jan 2019 05:47:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295379#M9370</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-01-30T05:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Text rotation to a Custom Object?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295380#M9371</link>
      <description>Barry,&lt;BR /&gt;
&lt;BR /&gt;
I love you!!! Thank you so much! &lt;BR /&gt;
&lt;BR /&gt;
Oh,the parameter of  Angle, not "Real Number". The icon fools me. I wonder why it looks like rotating icon to me. (facepalm myself)&lt;BR /&gt;
&lt;BR /&gt;
It works now. Now, I will have to redo all of my 2D scripts Templates with text rotation for years. I was struggling for so long time. &lt;BR /&gt;
&lt;BR /&gt;
With visual attachment does help me a lot to understand thing better with scripts. Now, i can see why I did wrong last time for other things as well.  I hope I can achieve with other objects as well. &lt;BR /&gt;
&lt;BR /&gt;
Thank you so much for a big help. This is only thing that i need. &lt;BR /&gt;
&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 30 Jan 2019 19:05:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Adding-Text-rotation-to-a-Custom-Object/m-p/295380#M9371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T19:05:54Z</dc:date>
    </item>
  </channel>
</rss>

