Using scene parameters

Using parameters, you can alter the value of an object's properties in the scene. Scene parameters are available for use by only the scene in which it is defined.

About this task

A scene parameter is available for use by only the scene in which it is defined. Each scene that you create has a Locals folder that is added to the Project Explorer and includes all the parameters that are defined for the scene.

To create a scene parameter:

Procedure

  1. From the Project Explorer view, right-click the scene for which you want to create the parameter. Select New > Parameter. The Insert Parameter window opens.
  2. Type a unique name for the scene parameter in the Name field.
  3. Select a data type from the Data type list box. The data type will describe what type of data will be included in the parameter. You have the following options:
    • Boolean: True or False
    • Color: Color
    • DateTime: Date and time value
    • DateTimeSet: Multiple data and time values
    • FilePath: Path to a file
    • FontName: Valid font type
    • Integer: Whole number
    • Literal: As is data. This data type only applies to query parameters
    • Number: Floating point number
    • NumberSet: Multiple floating point numbers
    • Percentage: Value that will be used as a percentage
    • Point: Single x,y point value
    • PointSet: Multiple x,y point values
    • PolySet: Multiple point variables that can be used to construct a polygon
    • Text: A text string
    • TextSet: Multiple text strings

    The default data type is Integer.

  4. If you want to add a description, enter the text in the Description field.
  5. If you want to specify a default value, select the Has default value check box. A field is displayed where you can type a default value for the parameter. This value will be used if no other value is specified.
  6. Click Finish.

    The Insert Parameter window closes. The specified parameter is added to the parameters node in the Project Explorer view.