Prev Next

Script Group Properties

The properties dialog for a script group

When you create a script you develop it within a script group, the properties of which determine how that script is to be made available to the user - through the Browser window context menu to operate on objects of a specific type, or through a diagram context menu. You create a Script Group using the first icon on the 'Scripts' tab toolbar.

Access

Ribbon

Specialize > Tools > Scripting > Scripts > right-click on [Group name] > Group Properties

Define the Script Group Properties

Field/Button

Action

See also

Name

Type in the name of the script group.

Group UID

(Read only) The automatically assigned GUID for the group.

Source

(Read only) The location of the template used to create the script.

Group Type

Click on the drop-down arrow and select the type of script contained in the group; this can be one of:

  • Normal - (New normal group icon) General model scripts
  • Browser window - (New project browser group icon) Scripts that are listed in and can be executed from the Browser window 'Scripts' context menu option
  • Workflow - (New workflow group icon) Scripts executed by Enterprise Architect's workflow engine; you can create only VB scripts of this type
  • Search - (New search group icon) Scripts that can be executed as model searches; these scripts are listed in the 'Search' field of the Model Search window, in the last category in the list
  • Diagram - (New diagram group icon) Scripts that can be executed from the 'Scripts' submenu of the diagram context menu
  • Find in Project - (New search group icon) Scripts that can be executed from the 'Scripts' submenu of a context menu within the Model Search view, on the results of a successfully-executed SQL search that includes CLASSGUID and CLASSTYPE, or a Query-built search
  • Element - Scripts that can be executed from the 'Scripts' submenu of element context menus; accessible from the Browser window, Diagram, Model Search, Element List, Package Browser and Gantt views
  • Package - Scripts that can be executed from the 'Scripts' submenu of Package context menus; accessible from the Browser window
  • Diagram - Scripts that can be executed from the 'Scripts' context menu option for diagrams; accessible from the Browser window and diagrams
  • Link - Scripts that can be executed from the 'Scripts' context menu option for connectors; accessible from diagrams
Package Options in the Browser Window Workflow Scripts Model Search Diagram Context Menu

Notes

Type in any comments you need regarding this script group.

Learn more