Model Parts, Diagrams, Dictionary Items, and Properties > Properties > Script type (property)
  
Script type (property)
For automation interface information about the Script Type property, see the automation interface topic for a Script in the Related Topics.
This property specifies the purpose of the Script:
MenuCommand —Adds new commands to the context menu of valid item types. Tell me more...
OnDelete —Specifies behavior when valid item types are deleted. Tell me more...
OnDoubleClick- Specifies behavior when valid item types are double-clicked. Tell me more...
OnDrop —For a diagram, specifies behavior when an item is dropped on to or moved on a valid diagram type. For an item, specifies behavior when an item is moved or copied to a valid item type in a Modeler pane. Tell me more...
OnModelClose —Specifies a script to run when a model is closed in Modeler. Tell me more...
OnModelOpen —Specifies a script to run when a model is opened in Modeler. Tell me more...
ToolbarCommand —Specifies toolbar buttons for a customized diagram toolbar. Tell me more...
Utility —Specifies that the Script is a utility that can be run from Modeler. Tell me more...
VariableElement —Specifies validation script for a Variant or Variation Point. Tell me more...
VariantParameter —Specifies derivation script for a variability parameter of a Variant or Requires Dependency, see Overview of variability parameters.
By default, the Script Type property is set to Utility.
This property is set on the Settings tab of a Script's Property Pages.
Note that you can apply scripts to specific items through Stereotypes. For more information, click the preceding links.
* 
To write scripts you require a good working knowledge of the VBScript language, the Modeler Meta Model and the Modeler Automation Interface. If you run a script that has errors, those errors can corrupt Modeler model data and make Modeler crash.
The following section provides information about the items and diagrams for which Script Type is a property. For more information about an item or diagram, click it.
Is property of
Script