Use border highlights in a Flash drawing

Technologies / User Interface add-Ins / Flash Drawing Views / Floor Plan with Border Highlight and Filter

Note: With the release of ARCHIBUS V.23.2, all ARCHIBUS views were converted to use the HTML drawing control instead of the Flash drawing control. If you have previously created views that use the Flash drawing control, the view's drawings will still work.

For new views that you create, ARCHIBUS, Inc. recommends using the HTML control, as the Flash control is slated for desupport in future versions of ARCHIBUS. For information on converting existing views with Flash drawings to HTML format, see Convert views with the Flash drawing control to the HTML drawing control.

The drawing control can highlight room borders separately from room areas. You can specify room border highlight by including one or more data sources of type DrawingControlHighlight in the view file.

The data sources must include bl_id, fl_id, and rm_id fields. For example, to highlight room borders by room type:

<dataSource id="iBorderRoomTypesDs" type="DrawingControlHighlight">
<title>Room Type</title>
<table name="rm" role="main"/>
<table name="rmtype" role="standard"/>
<field table="rm" name = "bl_id"/>
<field table="rm" name = "fl_id"/>
<field table="rm" name = "rm_id"/>
<field table="rm" name = "rm_type" legendKey="true"/>
<field table="rmtype" name="hpattern_acad"/>

Since regular highlight and borders highlight data sources have the same type (DrawingControlHighlight), border highlight data source IDs must start with the keyword iBorder. Otherwise, the drawing panel will use regular highlight data sources for border highlight.

To enable border highlight feature, set drawing panel’s property:

<panel type="drawing" bordersHighlightSelector="true">

In JavaScript code, you can use this API method to set border highlight data source:

// First parameter: regular highlight data source ID.
// Second parameter: borders highlight data source ID.
roomsHighlightDatasoureName, bordersHighlightDatasourceName)

You can also specify a legend panel for border highlights. When the user selects a border highlight, the legend panel will display corresponding legends.

<panel type="drawing" borderHighlightLegendPanel="legendGrid">



Copyright © 1984-2018, ARCHIBUS, Inc. All rights reserved.