Types of PxInclude Widget properties

The PxInclude Widget has the following properties.

Name
Description
enabled
This property has two options: true and false. Setting the option to false causes the widget to stop working. Values may display but are not reliable and do not update.
ord
The value of this property (an ORD) identifies the Px file that is linked using the PxInclude widget. See an example in the figure below.
variables
This optional property identifies the value of any variables in the Px file specified by the ord property. Clicking on the variable field displays the Variables window, where you can define the variable value. See an example in the figure below.
layout
his property contains parameter fields for values that prescribe PxInclude widget size and location.
visible
This property has two options: true and false. Setting the option to false causes the widget to not display.
Figure 1. Example PxInclude Properties Palette in the Px Editor


Note the following about this illustration:

  • The ord property file:^px/aircraft/inc_performance.px specifies to include the Px file named inc_performance.px. This file is located in the station’s (^) px/aircraftfolder.

  • The variables property value indicates that the included file has a single variable named target and that this variable is defined as slot:/Simulator/Performance.

    The visible property value is set to the default value true.