Model Parts, Diagrams, Dictionary Items, and Properties > Properties > Script (property)
Script (property)
For automation interface information about the script property (Script, Script Text or Text through automation interface), see the automation interface topic for a Script in the Related Topics.
This property specifies the VisualBasic script of a Script.
Depending on the purpose of the script, which is determined by the Script Type, you may be able to use different functions and object attributes in the script.
By default, the Script property is blank.
You use the Code Editor to edit Script code. The Code Editor language is always Visual Basic when editing Script code, irrespective of the Language that is set for parent Packages and the Model.
This property is set on the Script tab of a Script's Property Pages. You can click the Edit button and change the code in the Code Editor window. In addition, you can add model object references to the Script code.
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 is a property. For more information about an item or diagram, click it.
Is property of