<?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: ADD TEXT STYLE TO 2D SCRIPT in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/ADD-TEXT-STYLE-TO-2D-SCRIPT/m-p/229978#M3893</link>
    <description>At the beginning of the script you need to 'DEFINE STYLE' to set the values for the font you want to use.&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE "name_string" font_family, size, anchor, face_code  &lt;BR /&gt;
&lt;BR /&gt;
Then just before the TEXT2 command you have to 'SET STYLE' to use it.&lt;BR /&gt;
&lt;BR /&gt;
SET STYLE "name_string"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You can define as many fonts styles as you want (all with different names) and then set them just before you want to use them.&lt;BR /&gt;
&lt;BR /&gt;
The font_family, size, anchor, face_code variables can all be parameters so that your user of the object can change them in the object settings.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Thu, 10 Dec 2020 00:21:06 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2020-12-10T00:21:06Z</dc:date>
    <item>
      <title>ADD TEXT STYLE TO 2D SCRIPT</title>
      <link>https://community.graphisoft.com/t5/GDL/ADD-TEXT-STYLE-TO-2D-SCRIPT/m-p/229977#M3892</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi Forum,&lt;BR /&gt;&lt;BR /&gt;I have a basic boundary tool that I need to change the font, text size, etc of. The current script is attached as an image. It would be much appreciated if someone skilled could provide me with the correct script and where to put it to be able to define font, text size, etc.&lt;BR /&gt;Thank you, kindly.&lt;BR /&gt;&lt;BR /&gt;Robert&lt;BR /&gt;CUD&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:27:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/ADD-TEXT-STYLE-TO-2D-SCRIPT/m-p/229977#M3892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: ADD TEXT STYLE TO 2D SCRIPT</title>
      <link>https://community.graphisoft.com/t5/GDL/ADD-TEXT-STYLE-TO-2D-SCRIPT/m-p/229978#M3893</link>
      <description>At the beginning of the script you need to 'DEFINE STYLE' to set the values for the font you want to use.&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE "name_string" font_family, size, anchor, face_code  &lt;BR /&gt;
&lt;BR /&gt;
Then just before the TEXT2 command you have to 'SET STYLE' to use it.&lt;BR /&gt;
&lt;BR /&gt;
SET STYLE "name_string"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You can define as many fonts styles as you want (all with different names) and then set them just before you want to use them.&lt;BR /&gt;
&lt;BR /&gt;
The font_family, size, anchor, face_code variables can all be parameters so that your user of the object can change them in the object settings.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 10 Dec 2020 00:21:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/ADD-TEXT-STYLE-TO-2D-SCRIPT/m-p/229978#M3893</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-12-10T00:21:06Z</dc:date>
    </item>
  </channel>
</rss>

