Method Definition
Right-click the Add-in Definition node and select Method Definition to add a Method Definition subnode () where you can define a method that will be part of the add-in as a method that you can run from the Developer toolbar or as a Method Call that you can add to the model tree. A Method Definition appears for the add-in in the Add-In Libraries window and on the Add-ins menu in the Developer toolbar. Other methods used in the add-in do not need to be included using a method definition.
In the Label field, type a suitable label for the add-in method.
Select which method to use for the add-in from the Method list.
From the Use as list, choose Method (the default) to use it as a method that you can run directly, or choose Method call to make it possible to add it as a Method Call node in the model tree.
The Method Definition node’s Settings window contains the following section:
Description
Here you can write a descriptive text for the method in the Description field. The Description appears in the Add-in Library window and as a tooltip when choosing among add-ins from the Add-ins menu in the Developer toolbar.