Model Control Options

OptionsDescription

coreos [on/off/new]

Turns ON or OFF core OS background coloring or use the new coloring for 9.5 and later models. The default value is off for system versions prior to 9.4 or those with no specified version and new for 9.5.

-filter list

Specifies the name of a filter to turn on when building the model. All filters on an item must be present in this list in order for that item to appear. This option can be used any number of times.

-filter-has <list>

Use this instead of -filter to include items that have any of the listed filters (as opposed to all of the filters). Use "*" in order to show items with no filter, otherwise all filterless items are be hidden. This option can be used any number of times. It is equivalent to -show-attr filter xxx. For example, -filter-has *,gt shows any component with no filter or with gt in their filter.

-show-attr <attribute[=value]>

Filters based on component attribute values. If a value is set for that attribute, the component is shown. It is used in conjunction with -hide-attr for fine control of what is shown.

-hide-attr <attribute[=value]>

Filters based on component attribute values. If a value is set for that attribute, the component is shown. It is used in conjunction with -show-attr for fine control of what is shown.

-ignore item

Specifies the model entity that is not drawn in the system model diagram. This option can be used any number of times. The default values to this option are: layer:Tools and Utils and SDKENG, layer:MISC, block:Techview.

-detail item-type

Specifies the type of the smallest system model entity to be drawn.

-detail-type <detail-type>

If you set this option to fixed, the smallest system model entity drawn has a fixed width (rather than sized by their invisible components). This is used to reduce the size and complexity of the overall model.

-version-list list

Specifies the space-separated list of version numbers, ordered from oldest to newest. This is used to compare version numbers in the VERSION rule function. If not present, the Symbian version numbers from with ER5 through Future are used.

-page-width length

Specifies the width of the drawn image (with units). If not specified, it fits the viewer window. The valid units for width are in, mm, cm, px and pt.

-static

Disables the mouseover effects of the system model diagram.

-logo file-or-uri

Specifies the location of an image or SVG file to show in the bottom-left corner of the model. If not SVG, both -logo-width and -logo-height must be provided.

-logo-width length

Specifies the width of the logo (if any) in mm. If -logo-height is not specified, the logo is scaled to retain its aspect ratio.

-logo-height length

Specifies the height of the logo (if any) in mm. If -logo-width is not specified, the logo is scaled to retain its aspect ratio.

-legend-width percent

Specifies the percent width of the model that the legend takes up. This scales the size of the legend and model title, but not the logo, to fill the specified space. If a logo is included, but no width is specified, the legend cannot be scaled since it will not be able to determine the available space. Note that -max-legend-scale further limits the potential width.

-legend-max-scale scale-factor

Specifies the maximum scale factor for resizing the legend. If this is present and -legend-width is not, the legend and title scales to 100% of the available width. If both are present the scale factor takes precedent. If neither is present, the legend does not resize.

When this option is used, the legend can shrink if it is wider than the system model diagram.

-title-scale scale-factor

Specifies the scale factor for the size of the title font (the text in the lower right). Use this instead of CSS to control the size, since the System Model Generator needs to explicitly know how much space to allocate for the title.

-model_font font-name

Specifies the name of the base font to use to draw the model. This can be overridden by any custom CSS in the Shapes XML.

-dpi dots-per-inch

Specifies the DPI to use when printing from the Adobe SVG Viewer. If it is not specified, it prints at A4 size. A value 300 is recommended on an A3 size paper.