Peruse Styles Configuration
Styles are the visual traits of annotation, such as color, font, line width, etc. You can either export styles from CM4D Classic to import in the CM4D Config plugin, or you can create new styles directly in the CM4D plugin. In CM4D Peruse, these styles are used by Annotation Templates, where the styles are applied to annotation in order to use common attributes throughout reports.
All custom Styles and Scores used by the annotation must be imported/created before importing the Annotation Template file. Any custom styles (non-default) and Scores used in the annotation are not already imported, an error will occur during the import of the annotation template and an error message is shown.
Styles in CM4D
Styles are part of a CM4D document properties that allow common styles (such as font, line size, colors, etc.) to be applied to annotation across any number of sheets or reports. While some styles are included in a CM4D document by default, template developers can also create custom styles to use for annotation, scores or conditional styles.
For example, a Conditional style could be defined that changes the fill color of a box in the annotation if the value of the variable ~cp~ is greater than 1.33.
Any Styles used by the exported Annotation templates must also be exported from CM4D. To export custom styles from CM4D, go to the Document Styles and use the export function in that dialog.

The Default styles (in the bottom portion of the Styles dialog) cannot be exported from CM4D. For the purposes of Styles in CM4D Configuration, these defaults are automatically uploaded.

Changes to the default styles here will be reflected in the Root/Default styles in CM4D Configuration.
Styles in CM4D Configuration
Styles appear in a grid card with one row per Style.
- Import - Upload a Style file.
- Refresh - Reloads the grid to show any updates to the current status of the contents.
![]() |
|
| Action | Click the three dots
to open the menu of available actions for the selected row.
|
| Style Name | The Style label, taken from the label assigned in Document Styles, not from the exported template file name. |
| Style Type | The category of style indicates its source:
|
Import Style
A Style can be imported by clicking the Import button in the top right of the Styles card. The Import Style blade is opened to choose a file.
- Click Import.
- Click Select .4Style file or drag the file directly from File Explorer and drop them onto the web browser Import Style page. Only one file can be selected for import.
- Click Save and Close.

If the import is successful, the uploaded style appears in the grid as a Custom Style Type.
Custom Styles that reference other user-created Styles as its Base properties cannot be imported until the referenced 'parent' Styles are imported.
Styles in CM4D Peruse
Styles are used by CM4D Peruse when displaying annotations in the 3D viewer.

Can we improve this topic?
