<?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: ACAPI_WrieReport Format in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285820#M3601</link>
    <description>Thanks all  and thanks Tibor -- I was missing the get() part of ToCstr()</description>
    <pubDate>Mon, 18 Feb 2019 14:45:15 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2019-02-18T14:45:15Z</dc:date>
    <item>
      <title>ACAPI_WrieReport Format</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285817#M3598</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;My add on uses a Alert message via the WriteReport function. I want to format the output message using some embedded variables. but the place holder %s does not seem to work for UniStrings. does work for %f &amp;amp; %d.&lt;BR /&gt;&lt;BR /&gt;AS in:
&lt;PRE&gt;GS:: UniString str = 'something';
ACAPI_WriteReport ( "message is  %s" , true,  str ); // does not work. returns no conversion error.&lt;/PRE&gt;
however, i can use str directly without a conversion if no format place holder is used. Is there a solution or a conversion?&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:40:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285817#M3598</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2022-10-04T14:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_WrieReport Format</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285818#M3599</link>
      <description>Hi,&lt;BR /&gt;
I use this:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;GS::UniString successexport;
successexport +="hello";
successexport +="world";
ACAPI_WriteReport(successexport,true);
&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 06:11:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285818#M3599</guid>
      <dc:creator>leilei</dc:creator>
      <dc:date>2019-02-18T06:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_WrieReport Format</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285819#M3600</link>
      <description>&lt;BLOCKQUOTE&gt;poco2013 wrote:&lt;BR /&gt;Is there a solution or a conversion?&lt;/BLOCKQUOTE&gt;

Use the ToCStr method of GS::UniString:
&lt;PRE&gt;GS::UniString str = "something";
ACAPI_WriteReport ("message is %s", true, str.ToCStr ().Get ());&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 08:40:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285819#M3600</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2019-02-18T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_WrieReport Format</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285820#M3601</link>
      <description>Thanks all  and thanks Tibor -- I was missing the get() part of ToCstr()</description>
      <pubDate>Mon, 18 Feb 2019 14:45:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-WrieReport-Format/m-p/285820#M3601</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2019-02-18T14:45:15Z</dc:date>
    </item>
  </channel>
</rss>

