API | ITcPlcIECProject 5.28.1 ITcPlcIECProject | ITcPlcIECProject Inherits from: ITcPlcOpenImportExport Expanded by: ITcPlcIECProject2 Common interface for the nested PLC project. Inherits PLCopen import/export and adds the ability to save as a library. Methods 5.28.1.1 ITcPlcIECProject::SaveAsLibrary | ITcPlcIECProject::SaveAsLibrary Saves the project as a library. Equivalent to SaveAsLibrary2 [ } 126] without encryption. Signature HRESULT SaveAsLibrary([in] BSTR bstrLibraryPath, [in, defaultvalue(0)] VARIANT_BOOL binstall); Parameter Return value 5.28.2 ITcPlcIECProject2 | ITcPlcIECProject2 Inherits from: ITcPlcIECProject Expanded by: ITcPlcIECProject3 Adds a check for all PLC objects.
Methods 5.28.2.1 ITcPlcIECProject2::CheckAllObjects | ITcPlcIECProject2::CheckAllObjects Rebuilds the project and checks all PLC objects for errors. Returns whether the operation was successful. TE1000 123 Version: 1.7.0 Version Newly introduced ITcPlcIECProject7 Export the static analysis results as SARIF (ExportToSarif). Method Description SaveAsLibrary Saves the project as a library and optionally installs it. Name Type Description bstrLibraryPath BSTR [in] Full path to the library to be created. binstall VARIANT BOOL _ [in, defaultvalue(0)] VARIANT TRUE installs the library into _ the active profile after it is created.
Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Method Description CheckAllObjects Rebuild and check all PLC objects; this ensures success.