On model close (property)
For automation interface information about the On Model Close property (Owned On Model Close Script association through the automation interface), see the automation interface topic for a Script in the Related Topics. When you select the On Close check box, Modeler creates a Script object for the Stereotype through the Owned On Model Close Script association. The Script Type of the Script object is set to OnModelClose. The Script object is used to record the On Model Close Script that is displayed on the Model Events tab of the Stereotype's Property Pages. Note that Stereotype owned Scripts are not shown in Modeler.
This property specifies that On Model Close Script can be specified for a Stereotype. After selecting the On Close check box, you can type script in the associated box.
When the Stereotype is applied to the Model, the On Model Close script is run whenever the model is closed in Modeler.
By default, the On Model Close check box is cleared.
This property is set on the Model Events tab of a Stereotype's Property Pages.
* 
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 On Model Close is a property. For more information about an item or diagram, click it.
Is property of
Was this helpful?