Highlight a non-room asset symbol in a Flash drawing

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.

When an item that is not a room is selected in the grid, the associated asset in the drawing is highlighted by calling appendRecNonRm .

For non-room asset symbols, you first append the highlight record:

appendRecNonRm: function(bl_id, fl_id, id, fill, labels, asHighlight)

Next, you define the rawDwgName and fill properties:

opts.rawDwgName = 'HQ11';
//set the fill color
var df = new DwgFill();
df.bc = 0x00ff00; //Border Color
df.bt = 5; //Border Thickness
df.bo = 1.0; //Border Opacity: 1.0 (full intensity)
df.fc = 0xff0000;
// comment the lines to use DwgFill object
opts.appendRecNonRm("HQ", "11", "860", df);

Flash Drawing Control

View: http://localhost:880/archibus/schema/ab-products/risk/clean/reports-dwg\ab-cb-rpt-hl-haz.axvw

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