Add-ons are marine mode rule set view styles that are added to an existing ruleset view style. The main use of an add-on is to enhance a view style by importing actions. A rule set view style can have multiple add-on view styles.
Because an add-on is a rule set, it has access to global model data such as the following:
The drawing view
The coordinate system
The thin volume used by a drawing view
The query results, such as the level 0 objects returned by the query
If an add-on needs to retrieve data from specific objects, instead of from the global data shared across rule sets, then the rule set for the primary view style can pass specific objects to the add-on. This is more efficient and provides better performance.
The delivered add-on rule set view styles are located in the [Reference Data Folder]\SharedContent\Drawings\Catalog\Rules\RulesetsStyles folder. You add add-on rule sets to a rule set view style using the Tools > Define View Style command in the Drawings and Reports task.
When you create a rule set view style, you can add add-on view styles to do the following:
Import actions. You can import actions to improve the content of the primary rule set view style. For example, you could add a manufacturing add-on rule set and a rulers add-on rule set to a Scantling Steel Order view style.
Override existing actions. You can override a behavior defined in the primary rule set view style. To override an action, you would discard the action from the primary rule set view style, enable propagation of the primary rule set view style query, and then make sure an override action is enabled in the add-on.
The following add-on rule set view styles are delivered:
AddOn - Grid Axis and Lines
Adds visible coordinate system rulers, axes, and grid lines to a rule set view style. This add-on is included as part of several delivered rule set view styles, such as Hull Lines view styles. Uses the ISGridRuleSets.Default rule set. For more information, seeGrid Add-on Rulesets.
AddOn - Horizontal Grid Axis
Adds visible coordinate system ruler and axis for the horizontal axis to a rule set view style. The ruler and axis for the vertical axis are not added. This add-on is included as part of several delivered rule set view styles, such as the Steel Order (Shell Expansion) view styles. Uses the ISGridRuleSets.Default rule set. For more information, seeGrid Add-on Rulesets.
AddOn - Mfg Scantling
Adds manufacturing information created in the Structural Manufacturing task to a Steel Order view style. This add-on is included as part of the Steel Order rule set view style. Uses the MfgScantlingRuleSet.Default rule set. Plate margin, marking lines, and shrinkage can be added as source actions for this add-on. Only plate margin is enabled by default.
AddOn - Grid Axis (Generic)
Adds visible coordinate system rulers and axes to a rule set view style that uses the generic rule set. This add-on is included as part of several delivered rule set view styles, such as Steel Order (Generic). Uses the DBRGenericRuleSet.GenericRuleSet rule set.
The generic rule set only supports rulers add-ons. If you use a ruler add-on, you must select a block. To process rulers without selecting a block, add the rows directly to the main view style.
After you create a ruler add-on for the generic rule set, you must manually add the information highlighted in the example below to the file: