Creating helpers

You can add your helper to the Rhapsody® Tools menu. To open, the Helpers window, open a project and choose Tools > Customize.

About this task

The following tools are available on the Helpers window:

Table 1. List of tools available in the Helpers window
Icons Description
New icon

Click the New icon to create a new helper menu item.
Delete icon

Click the Delete icon to delete a helper menu item.
Move Up icon

Click the Move Up icon to move up the helper item on the Tools menu.
Move Down icon

Click the Move Down icon to move down the helper item on the Tools menu.

Use the following boxes on the Helpers window to identify and apply your helper application:

Table 2. List of fields in the Helpers window
Fields Description
Command Browse to the path to your helper application.
Arguments Optionally, add a binding for a parameter that resolves to a runtime instance.
Initial directory For an external program helper only, browse to the path of the default directory for the helper application.
Applicable to From the drop‑down list, select the model elements to associate with the helper.
Project type From the drop‑down list, select one or more profiles (for example, FunctionalC or SysML) to which the helper applies.
Helper trigger From the drop‑down list, select the action that triggers this helper.

Towards the end of the window, identify if your helper application is an external program helper or Visual Basic for Applications macro helper. The following helper triggers are available:

  • After Project New
  • After Project Open
  • Before Project Save
  • After Project Save
  • Before Check Model
  • Before Code Generation
  • After Roundtrip
  • After Change To (This refers to the Change To option which is included in the pop-up menu for model elements that are "new terms" based on existing types of elements.)
  • After Add Element