MicroStation CONNECT Edition Help

To Highlight Elements in a Fence Using a VBA Macro

  1. Open the VBA Projects dialog ( Drawing > Utilities > Macros > VBA Manager ).
  2. Click the Load Project icon and from the Load Project dialog, select Hilitea.mvb.
  3. In the VBA Project Manager dialog, click the Macros icon.

  4. In the Macros dialog that opens, select the key-in HiliteElInFence and click Run.

    All the elements in the fence are highlighted.

    Tip: You can use a VBA macro to highlight each element contained in a fence that meets the filter criteria. Then you can use the Change Element Attributes tool , with Use Fence on, to change the level, color, line style, or line weight of the highlighted elements. These changes can be reflected in a plot to dramatize an analysis.