Test the rules - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

To test the hotspotter rules, open one of the MicroStation or AutoCAD drawings in SmartSketch. It is automatically converted to the SmartSketch format. Click Tools> Macro. In the Run Macro dialog box, browse to the SPFSmartConverter subfolder under the SmartPlant Foundation installation folder. Run the Hotspotter42.dll macro. (Note that this file name is version dependent). The hotspotter macro runs in rules development mode. This forces the background to be black and initially sets all graphics to dark blue. All hotspotted graphics are displayed in green.

For the scattered text rules, the search rectangles are displayed in different colors based on the rules that are obeyed.

  • Search rectangles that will be plotted initially are dark yellow.

  • Search rectangles that obey rules specified in the [ScatterPreHit] section of the .ini are yellow.

  • Search rectangles that obey the rules above and those specified in the [ScatterRules] section are magenta.

  • Search rectangles that obey the rules above and that have the correct count of strings as specified in the [ScatterSequenceRules] section are white.

If the graphics are not hotspotted as expected, modify the rules and test again. Be sure to test the rules with several representative drawings.