Formatting Graphic Symbols

<< Click to Display Table of Contents >>

 

Formatting Graphic Symbols

The Faceplate Screen displays a symbol for the device it refers to and, to do so, it reads from the hpXFaceplateTemplate object what is the name of the symbol, in the DeviceControlName property, and in which library it is in, in the DeviceControlGallery property.

In addition, every symbol displayed on the Faceplate Screen must obey the next criteria.

Having a property called DataObject, of type xfPlantFolder, with an initial empty value. This property receives a Link to the PathName property of the data object

Having a property called Orientation, of type Integer, with an initial value of 0 (zero). This property indicates whether the object must be represented vertically or horizontally, or else to the right or to the left. For example, a valve can be represented in four different orientations, defined by the Orientation property with the values 0 (zero), 1 (one), 2 (two), or 3 (three)

All Elipse E3 primitives or images composing a graphical object implemented by an application developer must be contained in a Group or Animation called Device

Inside each Device Group or Animation, users must instantiate an hpPopupOpen-type object called hpPopupOpen1. When opening, the Faceplate Screen automatically disables this object, so that a new instance of the Faceplate Screen can be opened from the Screen itself

 

To hide a device icon on the Faceplate Screen, configure the DeviceControlName property of the hpXFaceplateTemplate object to an empty String.

Was this page useful?