AfmHighltQueryByOwner

Syntax

(AfmHighltQueryByOwner)

Comments

This function performs the actual by-owner query and adds the solid and hatch entities to the drawing.

Example

The following example highlights rooms by department.

(defun c:afm_hrmxdp ()
(AfmHighltQuerySetOwner "dp")
(AfmHighltQuerySetAssigned "rm")
(AfmHighltQueryByOwner)
(princ)
)

The (AfmHighltQueryByOwnerEx ) function includes additional parameters, such as the ability to invoke the highlight without prompting for a dialog, as you may wish to do when scripting highlights within a sequence of drawings.

The (AfmHighltQueryLegendProperties) method sets legend properties. Please see the example:

( c:afm_hrmxdpWithLegendControlNoForm) in \Program Files (x86)\archibus\xxx\SmartClient\acad\afm_highlight.lsp .