Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions
16.0.1685432419
Prefix Reserved
See the version list below for details.
dotnet add package Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions --version 16.0.1685432419
NuGet\Install-Package Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions -Version 16.0.1685432419
<PackageReference Include="Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions" Version="16.0.1685432419" />
paket add Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions --version 16.0.1685432419
#r "nuget: Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions, 16.0.1685432419"
// Install Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions as a Cake Addin #addin nuget:?package=Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions&version=16.0.1685432419 // Install Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions as a Cake Tool #tool nuget:?package=Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions&version=16.0.1685432419
TIA Add-In Extensions
Siemens Collaboration Add-In Extensions provide extensions for Siemens Engineering types to help you write cleaner and more efficient code.
Installation
- install package
Siemens.Collaboration.Net.TiaPortal.AddIn.Extensions
and select a matching version (17.* = TIA Portal V17, 18.* = TIA Portal V18) - reload and build the project
Dependencies
By installing this package, the following package is automatically installed and must not be installed individually.
TIA Add-In Openness References
All Siemens.Engineering.AddIn assemblies are referenced automatically. Please see README for further documentation.
Examples
Messages and Dialogs
Open message box in foreground
var result = AddInMessageBox.Show("Successfully imported all files", "Import done", MessageBoxButton.OK, MessageBoxImage.Information);
Open dialog in foreground
var result = myDialog.ShowDialogInForeground();
Context Menu Item
Catch an exception before an add-in is crashing and handle it in a handler
protected override void BuildContextMenuItems(ContextMenuAddInRoot addInRootSubmenu)
{
addInRootSubmenu.Items.AddActionItem<IEngineeringObject>("Item 1", ClickDelegate, UpdateStatusDelegate, OnError);
}
/// <summary>
/// Handle errors
/// </summary>
/// <param name="exception">Unhandled exception when executing add-in</param>
private void OnError(Exception exception)
{
// Show error message
AddInMessageBox.Show(exception.ToString(), "Error", MessageBoxButton.OK, MessageBoxImage.Error);
// Write error to file
//File.WriteAllText("...", exception.ToString());
}
TIA Portal Openness Extensions
Most are available as well. Please see README for further documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Siemens.Collaboration.Net.CoreExtensions (>= 2.0.27)
- Siemens.Collaboration.Net.TiaPortal.Packages.OpennessAddIn (>= 16.0.1685432075)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
19.0.1725480561 | 138 | 9/6/2024 |
18.0.1725480533 | 121 | 9/6/2024 |
18.0.1685432504 | 410 | 5/30/2023 |
18.0.1685386091 | 163 | 5/29/2023 |
17.0.1725480504 | 117 | 9/6/2024 |
17.0.1685432472 | 214 | 5/30/2023 |
16.0.1725480458 | 105 | 9/6/2024 |
16.0.1685432419 | 160 | 5/30/2023 |
16.0.1685386014 | 154 | 5/29/2023 |