<?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: AC_TextStyle_1 strikethrough useless error in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263882#M2995</link>
    <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
What is the full DEFINE STYLE command you have used for 'AC_TextStyle_1' ?
&lt;/BLOCKQUOTE&gt;

Nothing fancy, really.
&lt;PRE&gt;define style "label_text_style" 	AC_TextFont_1, AC_TextSize_1*100/GLOB_SCALE, txt_anchor, AC_TextStyle_1&lt;/PRE&gt;

The GDL manual states, that the text style flag for subscript, superscript, and strikethrough only works with STYLE{2} – but at least strikethrough still works when set with STYLE. It only raises the error mentioned above.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_neutral.gif" style="display : inline;" /&gt;</description>
    <pubDate>Mon, 03 May 2021 09:15:45 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2021-05-03T09:15:45Z</dc:date>
    <item>
      <title>AC_TextStyle_1 strikethrough useless error</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263879#M2992</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;If you don't want to use a full blown PARAGRAPH, since you're happy with TEXT2 and somebody uses the strike through option in the label.... you'll will get a "Facecode Value not in Range" error for using `AC_TextStyle_1` in DEFINE STYLE.&lt;BR /&gt;&lt;BR /&gt;But – &lt;STRONG&gt;it still works&lt;/STRONG&gt;. So why not remove the damn error, GS?&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:15:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263879#M2992</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2021-09-14T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: AC_TextStyle_1 strikethrough useless error</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263880#M2993</link>
      <description>What is the full DEFINE STYLE command you have used for 'AC_TextStyle_1' ?&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 03 May 2021 01:21:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263880#M2993</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-05-03T01:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: AC_TextStyle_1 strikethrough useless error</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263881#M2994</link>
      <description>There is a similar thing with pen numbers in that the -1 value is available but can’t be used. I found setting a Values range limit in the Parameters script clears the pen from the selection grid. Is a range limit appropriate to your face styles ?</description>
      <pubDate>Mon, 03 May 2021 01:54:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263881#M2994</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2021-05-03T01:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: AC_TextStyle_1 strikethrough useless error</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263882#M2995</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
What is the full DEFINE STYLE command you have used for 'AC_TextStyle_1' ?
&lt;/BLOCKQUOTE&gt;

Nothing fancy, really.
&lt;PRE&gt;define style "label_text_style" 	AC_TextFont_1, AC_TextSize_1*100/GLOB_SCALE, txt_anchor, AC_TextStyle_1&lt;/PRE&gt;

The GDL manual states, that the text style flag for subscript, superscript, and strikethrough only works with STYLE{2} – but at least strikethrough still works when set with STYLE. It only raises the error mentioned above.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_neutral.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 03 May 2021 09:15:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263882#M2995</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2021-05-03T09:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: AC_TextStyle_1 strikethrough useless error</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263883#M2996</link>
      <description>I just looked at the GDL manual and DEFINE STYLE only allows for bold, underline and italic in the face code values.&lt;BR /&gt;
DEFINE STYLE{2} however includes extra values for superscript, subscript and strikethrough.&lt;BR /&gt;
&lt;BR /&gt;
But I guess the problem is, DEFINE STYLE{2} doesn't include the anchor position.&lt;BR /&gt;
And it says …
&lt;BLOCKQUOTE&gt;&lt;FONT color="#FF0000"&gt;If the defined style is used with the TEXT2 command&lt;/FONT&gt;, size means character heights in millimeters, &lt;FONT color="#FF0000"&gt;while the superscript, subscript and&lt;BR /&gt;
strikethrough face_code values are not effective.&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;

So I don't think there is a way around your dilemma - put up with the error message or change to use paragraphs.&lt;BR /&gt;
&lt;BR /&gt;
But yes, it is strange (annoying) it does work, but gives you the error message.&lt;BR /&gt;
This would be one to report to your Archicad support people.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 03 May 2021 14:38:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-TextStyle-1-strikethrough-useless-error/m-p/263883#M2996</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-05-03T14:38:16Z</dc:date>
    </item>
  </channel>
</rss>

