beckhoff TE1000 TwinCAT 3 — 5.14.1.1 ITcProjectArchive::AddFilesToArchive

API | ITcProjectArchive Properties Methods (none) Error codes: E_FAIL : There is no nested project attached to this node, or the inner project does not provide the expected interface. 5.14 ITcProjectArchive | ITcProjectArchive ITcProjectArchive is an interface implemented on the TwinCAT project node that writes the project and its files to a ZIP archive. Unlike ITcArchivePersist (solution level), this interface applies to a single project. Chain of inheritance ITcProjectArchive Interface versions 5.14.1 ITcProjectArchive | ITcProjectArchive An interface implemented on the TwinCAT project node that writes the project and its files to a ZIP archive.

Unlike ITcArchivePersist (solution level), this interface applies to a single project. Methods 5.14.1.1 ITcProjectArchive::AddFilesToArchive | ITcProjectArchive::AddFilesToArchive Saves the project, including the associated files, as a ZIP archive at bstrArchivePath . ulFlags ( ADD_FILES_TO_ARCHIVE_FLAGS [ } 160] ) can be used to include nested projects ( ADD_FILES_TO_ARCHIVE_INCLUDE_NESTED = 1 ) and remove source control information ( ADD_FILES_TO_ARCHIVE_REMOVE_SCC = 2 ). Signature HRESULT AddFilesToArchive(BSTR bstrArchivePath, BSTR bstrRootFolder, ULONG ulFlags); Parameter TE1000 99 Version:

1.7.0 Property Type get/set Description NestedProject ITcSmTreeItem** get Returns the root Tree Item of the inner project hierarchy. Version Newly introduced Index ITcProjectArchive Saves a single project and its files to a ZIP archive. ITcProjectArchive Method Description AddFilesToArchive Saves the project files to a ZIP archive. Name Type Description bstrArchivePath BSTR [in] Target path for the ZIP file. bstrRootFolder BSTR [in] Root folder, stored relative to the path in the archive. ulFlags ULONG [in] Bitmask from ADD FILES TO ARCHIVE FLAGS. _ _ _ _