You can create customized marine mode graphic rules that use the graphic modules and properties needed for your drawings. Customized rules must be located in the [Reference Data Folder]\SharedContent\Drawings\Catalog\Rules\DBRRules\MetaGraphicRules folder. Each graphic rule has a subfolder containing an .xml file and a resource .dll. You must customize the .xml file and compile the resource .dll from customized source code.
After you create a customized graphic rule, it is available for any generic source selected using the Select Object Type option in the Source box of the Edit Ruleset View Style dialog box. The customized rule then displays as an option for Graphic Rule Type in the Graphic tab of the Graphic Style dialog box. For more information, see Actions Tab (Edit Ruleset View Style Dialog Box) and Graphic Tab (Graphic Style Dialog Box).
-
Landing Curve with End Cuts is delivered as an example graphic rule using this structure.
-
The RepresentationSelector property defines the type of graphic rule the software applies to an aspect. The table below shows the value you type in the .xml file for each graphic rule type.
Value
Graphic Rule Type
-1
Not Defined
1
VHL
2
Single Line
4
Double Line
8
Cross Section
16
Replace with Symbol
32
Center Line