<?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: APIERR_BADWINDOW when save as ifc in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/APIERR-BADWINDOW-when-save-as-ifc/m-p/232199#M2530</link>
    <description>APIERR_BADWINDOW usually means that the required operation is not possible over the currently opened window type. IFC export works only when you are in a 2D or 3D window, but it doesn't available when you are in, for example, a section window. The API works the same as Archicad, it returns APIERR_BADWINDOW if you are in a window where the command is not available.</description>
    <pubDate>Sun, 20 Dec 2020 08:43:42 GMT</pubDate>
    <dc:creator>Viktor Kovacs</dc:creator>
    <dc:date>2020-12-20T08:43:42Z</dc:date>
    <item>
      <title>APIERR_BADWINDOW when save as ifc</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIERR-BADWINDOW-when-save-as-ifc/m-p/232198#M2529</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I am trying to save as an IFC file in ArchiCAD 22.&lt;BR /&gt;&lt;BR /&gt;But I got the APIERR_BADWINDOW error code from ACAPI_Automate(APIDo_SaveID, &amp;amp;fsp, &amp;amp;pars_ifc).&lt;BR /&gt;&lt;BR /&gt;The following are the parameters entered before running ACAPI_Automate.&lt;BR /&gt;GS::UniString filePath = L"C:\\...............ifc";&lt;BR /&gt;API_FileSavePars fsp;&lt;BR /&gt;API_SavePars_Ifc pars_ifc;&lt;BR /&gt;BNZeroMemory(&amp;amp;fsp, sizeof(API_FileSavePars));&lt;BR /&gt;BNZeroMemory(&amp;amp;pars_ifc, sizeof(API_SavePars_Ifc));&lt;BR /&gt;fsp.fileTypeID = APIFType_IfcFile;&lt;BR /&gt;fsp.file = new IO::Location(filePath);&lt;BR /&gt;pars_ifc.subType = API_IFC;&lt;BR /&gt;&lt;BR /&gt;I don't know why I got this error.&lt;BR /&gt;&lt;BR /&gt;It works on the computer I've been developing on, but I get errors on a few other computers.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:36:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIERR-BADWINDOW-when-save-as-ifc/m-p/232198#M2529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-14T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: APIERR_BADWINDOW when save as ifc</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIERR-BADWINDOW-when-save-as-ifc/m-p/232199#M2530</link>
      <description>APIERR_BADWINDOW usually means that the required operation is not possible over the currently opened window type. IFC export works only when you are in a 2D or 3D window, but it doesn't available when you are in, for example, a section window. The API works the same as Archicad, it returns APIERR_BADWINDOW if you are in a window where the command is not available.</description>
      <pubDate>Sun, 20 Dec 2020 08:43:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIERR-BADWINDOW-when-save-as-ifc/m-p/232199#M2530</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2020-12-20T08:43:42Z</dc:date>
    </item>
  </channel>
</rss>

