<?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: APIDo_SaveID - saving to .xls from schedule in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246744#M4268</link>
    <description>Using ACAPI_Automate(APIDo_SaveID,...) the content of the current window cannot be saved to Excel file.&lt;BR /&gt;
As leilie said, you can find an example in Database_Control Example Add-On for writing Excel files. In that way you can write any data into the Excel file, but you have to collect those informations first.</description>
    <pubDate>Thu, 27 Sep 2018 13:03:57 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2018-09-27T13:03:57Z</dc:date>
    <item>
      <title>APIDo_SaveID - saving to .xls from schedule</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246742#M4266</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello &lt;BR /&gt;I am trying to save a interactive schedule as a &lt;STRONG&gt;.xls&lt;/STRONG&gt; file using APIDo_SaveID function.&lt;BR /&gt;I have been able to open the interactive schedule view and now I want to be able to do a save as.&lt;BR /&gt;&lt;BR /&gt;There is no excel fileTypeID to apply to the API_FileSavePars.fileTypeID structure&lt;BR /&gt;&lt;BR /&gt;//code------&lt;BR /&gt;//save file as excel&lt;BR /&gt;API_FileSavePars savePara;&lt;BR /&gt;std::string newXcelFilename = "exportExcelTest.xls";&lt;BR /&gt;&lt;BR /&gt;BNZeroMemory(&amp;amp;savePara, sizeof(API_FileSavePars));&lt;BR /&gt;savePara.fileTypeID = APIFType_TabListFile;&lt;BR /&gt;&lt;BR /&gt;IO::Location folderLoc;&lt;BR /&gt;API_SpecFolderID specID = API_UserDocumentsFolderID;&lt;BR /&gt;ACAPI_Environment(APIEnv_GetSpecFolderID, &amp;amp;specID, &amp;amp;folderLoc);&lt;BR /&gt;savePara.file = new IO::Location(folderLoc, IO::Name(newXcelFilename.c_str()));&lt;BR /&gt;&lt;BR /&gt;err = ACAPI_Automate(APIDo_SaveID, &amp;amp;savePara, nullptr);&lt;BR /&gt;&lt;BR /&gt;I hope someone can help ...please !&lt;BR /&gt;&lt;BR /&gt;Archicad 22&lt;BR /&gt;Dev Kit 22.3004&lt;BR /&gt;Windows 8&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 12:07:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246742#M4266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-04T12:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: APIDo_SaveID - saving to .xls from schedule</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246743#M4267</link>
      <description>Hi&lt;BR /&gt;
Maybe you can look at the Do_ExportWallsToExcel function in Database_Control test .</description>
      <pubDate>Thu, 27 Sep 2018 07:57:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246743#M4267</guid>
      <dc:creator>leilei</dc:creator>
      <dc:date>2018-09-27T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: APIDo_SaveID - saving to .xls from schedule</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246744#M4268</link>
      <description>Using ACAPI_Automate(APIDo_SaveID,...) the content of the current window cannot be saved to Excel file.&lt;BR /&gt;
As leilie said, you can find an example in Database_Control Example Add-On for writing Excel files. In that way you can write any data into the Excel file, but you have to collect those informations first.</description>
      <pubDate>Thu, 27 Sep 2018 13:03:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIDo-SaveID-saving-to-xls-from-schedule/m-p/246744#M4268</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2018-09-27T13:03:57Z</dc:date>
    </item>
  </channel>
</rss>

