.NET Customisation
User Guide
.NET Customisation
:
Introduction
:
Sample Code
: ExamplesAddin
ExamplesAddin
This is a C# addin containing a number of code examples that can be run via a command. The command Aveva.Example.Command, is loaded when the addin is started. To add the addin to a module, copy the modules Addins.xml, for example, DesignAddins.xml from the product directory to the directory set in CAF_ADDINS_PATH. Edit this file adding the ExampleAddin to it (There is an example addins file in the ExamplesAddin directory). The command can be run from a ComboBox tool added to the ribbon or toolbar depending on the UI in the module. To do this in the application, create a new Tab group/toolbar using the Customisation utility, add a ComboBox tool to it and attach the command to that. Each example can then be run by selecting it in the ComboBox. Since these examples create and claim Model elements they need to be run in a Design multi-write database.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.