<?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 Write Report in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287503#M3621</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;This question has been asked before but I don't think there has been a satisfactory answer.&lt;BR /&gt;&lt;BR /&gt;The WriteReport function in the examples is not writing to the Session Report.&lt;BR /&gt;&lt;BR /&gt;Is there another location other than the Session Report?&lt;BR /&gt;&lt;BR /&gt;I have checked the Write report check box and set the slider to full. under model Rebuild Options.&lt;BR /&gt;&lt;BR /&gt;Using ver 22 on PC.&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Oct 2022 14:36:33 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2022-10-04T14:36:33Z</dc:date>
    <item>
      <title>Write Report</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287503#M3621</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;This question has been asked before but I don't think there has been a satisfactory answer.&lt;BR /&gt;&lt;BR /&gt;The WriteReport function in the examples is not writing to the Session Report.&lt;BR /&gt;&lt;BR /&gt;Is there another location other than the Session Report?&lt;BR /&gt;&lt;BR /&gt;I have checked the Write report check box and set the slider to full. under model Rebuild Options.&lt;BR /&gt;&lt;BR /&gt;Using ver 22 on PC.&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:36:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287503#M3621</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2022-10-04T14:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Write Report</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287504#M3622</link>
      <description>UPDATE:&lt;BR /&gt;
&lt;BR /&gt;
I looked at this again and found that the function WriteReport() is being defined in the APICommon.c file.&lt;BR /&gt;
&lt;BR /&gt;
However the redefinition to ACAPI_Writereport is either being redefined or skipped by using a # directive at the start of the line.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know what the # sign is suppose to do in VS and how to utilize it?&lt;BR /&gt;
&lt;BR /&gt;
EDIT:&lt;BR /&gt;
  OK - figured it out but don't know why Archicad would  omit the writereport function by default? Don't know what the DBprint does instead?</description>
      <pubDate>Fri, 22 Feb 2019 22:47:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287504#M3622</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2019-02-22T22:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Write Report</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287505#M3623</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
The WriteReport function is defined in the APICommon.c file, which contains several helper functions, which are not part of the API itself, but utilize it. It sinply acts as a wrapper over the ACAPI_WriteReport and DBPrintf functions.&lt;BR /&gt;
&lt;BR /&gt;
The ACAPI_WriteReport function itself has two modes. It either prints its output to the Session Report, or in an alert box.&lt;BR /&gt;
&lt;BR /&gt;
The DBPrintf function can print output to a Debugger (if one is present and attached), as such, it should only be used for debugging.&lt;BR /&gt;
&lt;BR /&gt;
The lines starting with # are processed by the C/C++ preprocessor. The most frequent directives are #include, #define, and #if. The latter two are mostly used for conditional compilation.&lt;BR /&gt;
You can find more information about these directives &lt;A href="https://en.cppreference.com/w/cpp/preprocessor" target="_blank"&gt;here&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
If you want to be certain, that you write to the Session Report, you should use ACAPI_WriteReport directly.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes</description>
      <pubDate>Mon, 25 Feb 2019 09:53:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287505#M3623</guid>
      <dc:creator>dfintha</dc:creator>
      <dc:date>2019-02-25T09:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Write Report</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287506#M3624</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
Thanks for the update.&lt;BR /&gt;
Very Helpful.</description>
      <pubDate>Mon, 25 Feb 2019 21:29:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Write-Report/m-p/287506#M3624</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2019-02-25T21:29:01Z</dc:date>
    </item>
  </channel>
</rss>

