

Creating Models › Creating a Physical Model › Scripts › Add a New Script › Define Script User-Defined Property Values
Define Script User-Defined Property Values
Use the UDP tab in the Script Template Editor to specify a user-defined property value for a script.
To define script user-defined property values
- Click Script Templates on the Model menu.
The Script Template Editor opens.
- Select the script in the Navigation Grid for which you want to define user-defined property values.
- Click the UDP tab and work with the following options:
- Property
-
Displays the name of the user-defined property (UDP) associated with the script. When you use the Command data type for a UDP, the Property cell is a button that you can click to launch a file or application that you enter in the Value cell.
- Value
-
Specifies a default value. You can enter or select a property value depending on the value data type:
- Enter the property value in the Value cell for Integer, Real Number, and Text data types.
- Enter a date value, click
to change the month, day, and year, or click
to select a date for the Date data type.
- Select a value from the Value list for the List data type. For example, you can create a UDP to select the backup frequency such as daily.
- Enter a system command or click
to browse for a file or executable program for the Command data type. For example, you can enter or select C:\Myfile.doc to launch the Microsoft Word document Myfile.doc.
- Click Close.
User-defined property values are saved for the script and the Script Template Editor closes.
Note: You should create UDPs before assigning them to a script. However, you can click
to open the User Defined Properties : Physical dialog and work with physical UDPs from within the UDP tab of the Script Template Editor.
Copyright © 2017 erwin Inc.
All rights reserved.
 
|
|