<?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: Problems with TEXT2 in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377381#M134</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/57315"&gt;@Otavio Augusto&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;but the obvious is only obvious when you know it right? lol&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Obviously. &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 01:15:05 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-04-21T01:15:05Z</dc:date>
    <item>
      <title>Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377192#M129</link>
      <description>&lt;P&gt;Hello, I'm trying to create an electrical object symbol following the standards of our office, but when &lt;SPAN&gt;writing&amp;nbsp;&lt;/SPAN&gt;the 2D drawing script, the TEXT2 command is not respecting the created DEFINE STYLE directive. Does anyone have an idea of why this might be happening?&lt;/P&gt;
&lt;P&gt;It's a very simple drawing that is almost ready, I just need to get the text to respect the created style so that the text stays within the 2D drawing.&lt;/P&gt;
&lt;P&gt;Below is the line of code referring to the problem with TEXT2 and DEFINE STYLE.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!TESTE FORMA iExample = 4 | ALGUM ERRO EM DEFINE STYLE
if iExample = 4 then
	circle2 0, 0, radius2
	circle2 0, 0, radius1
	HOTARC2 0, 0, radius2, 0, 360
	DEFINE STYLE "3" "Calibri", 0.5, 5, 0
	text2{3} 0,0, "TV"
endif&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;i'm sorry if i didn't post in the right forum.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 14:34:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377192#M129</guid>
      <dc:creator>Otavio Augusto</dc:creator>
      <dc:date>2023-05-23T14:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377194#M130</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;DEFINE STYLE "3" "맑은 고딕", 0.5, 5, 0&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;style "3"&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT&gt;text2 0,0, "가자TV"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1681946901806.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/36289i57E8F8117B694922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1681946901806.png" alt="LeeJaeYoung_0-1681946901806.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT&gt;You just defined the font, but didn't set it up for use. And text{2} is a command I don't know, so I tested it by changing it.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Apr 2023 23:28:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377194#M130</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-04-19T23:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377196#M131</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1681947270726.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/36290iAFB06300F01695A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1681947270726.png" alt="LeeJaeYoung_0-1681947270726.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to reload it to reflect the changes I made. There are times when you can't do this...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 23:35:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377196#M131</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-04-19T23:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377201#M132</link>
      <description>&lt;DIV&gt;circle2 0, 0, radius2&lt;/DIV&gt;&lt;DIV&gt;circle2 0, 0, radius1&lt;/DIV&gt;&lt;DIV&gt;HOTARC2 0, 0, radius2, 0, 360&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;DEFINE STYLE&lt;/STRONG&gt; 'labeltext' "Calibri",0.5,5,0&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;SET STYLE&lt;/STRONG&gt; 'labeltext'&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;text2 0,0, "TV"&lt;/DIV&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;The above define style and set style will work but i recommend below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TEXT_SIZE&lt;/STRONG&gt; = TEXT_SIZE *(100/GLOB_SCALE). &amp;nbsp; : redefine the text size to suit the drawing scale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE STYLE "AAA" fonttype, &lt;STRONG&gt;TEXT_SIZE&lt;/STRONG&gt;, 1, 0&lt;/P&gt;&lt;P&gt;SET STYLE "AAA"&lt;/P&gt;&lt;P&gt;TEXT2 0, 0, "TV"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Recommend adding the parameters over set font type and size in the script. see the sample below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56386i84EBA70320FE36E4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screenshot 2023-04-20 at 10.48.44 am.png" title="Screenshot 2023-04-20 at 10.48.44 am.png" /&gt;</description>
      <pubDate>Thu, 20 Apr 2023 00:49:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377201#M132</guid>
      <dc:creator>Kevin Lee</dc:creator>
      <dc:date>2023-04-20T00:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377288#M133</link>
      <description>&lt;P&gt;yessss, thanks so much!&lt;BR /&gt;how could i miss it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the obvious is only obvious when you know it right? lol&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 13:38:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377288#M133</guid>
      <dc:creator>Otavio Augusto</dc:creator>
      <dc:date>2023-04-20T13:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with TEXT2</title>
      <link>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377381#M134</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/57315"&gt;@Otavio Augusto&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;but the obvious is only obvious when you know it right? lol&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Obviously. &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 01:15:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Problems-with-TEXT2/m-p/377381#M134</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-04-21T01:15:05Z</dc:date>
    </item>
  </channel>
</rss>

