![]() |
Setting default values for elements using stylesStyles enable administrators to set the default values that will be applied to all properties of such elements as sheets, geometry, annotations, dimensions, dress-up and dress-up symbols, callouts, etc. The default values are defined and stored in the standard XML file, where a set of new parameters are defined, one parameter for each element property whose default value can be set. Default values are applied to elements as they are created. After creation, the user can modify element values as required. If you modify styles in the standard itself and then update the standard file used by the drawing, the elements which have already been created will NOT be modified (i.e. their default values will remain as previously). Updating the standard will only have an impact on the next elements to be created. When you create a drawing a sheet style is applied to the first
sheet. If you create a new sheet, the properties of the first sheet are
copied and applied to it. No sheet style is applied. By default, the
Sheet Style combo box available through File > Page Setup is
empty so updating the standard will not apply any sheet style. |
|||
![]() |
Styles replace the former management of default values (which was performed using the Set as Default / Use Default functionalities), for drawings:
|
|||
![]() |
For drawings created with versions up to
V5 R10 and NOT updated, default values still use the Set as Default / Use
Default functionalities. For more information, refer to Setting Properties
As Default and Using Properties Set as Default. |
|||
Defining default valuesThe default values for all element properties are stored in a specific Styles section of the standard XML file, and are defined by the administrator. Styles are defined for all Drafting element types. By default, one style named Default is predefined in the standard files for each type of element. In this Default style, all element properties are pre-defined, enabling the administrator to set the value for this property. This Default style cannot be renamed. You can create your own styles (based on existing styles), as well as delete styles (providing there remains at least one style for each type of element). Using default valuesWhen creating a Drafting element, default values are automatically used. So, when users select a command that creates a specific type of element, the Style toolbar displays the current style for this type:
The toolbar reflects the value of the style, but users can always modify the value of specific elements. Re-applying a style to an objectWhen a Drafting element is selected, the Style toolbar displays the list of the styles that can be applied to it. If the user selects one of these, this style is re-applied to the element. This enables users to reset to its default values an element whose properties have been modified.
|
![]() |
|||
Customizing Styles |
||||
![]() |
In this scenario, administrators will learn how to customize styles. | |||
![]() |
This scenario provides an example of style
customization. The procedure differs when customizing standard parameters
(dimensions, annotations, dress-up elements, etc.). For more information,
refer to About Standard Parameters. Note that a new style is always based on an existing style.
|
|||
You want to create a new text style that you
will use for adding notes. You want to use the Verdana font, and you want a
frame around the text. You then want to delete the Default style.
|
||||
|
Select Tools > Standards to launch the Standard Definition editor. Choose the Drafting category, and then open the ISO.xml file from the drop-down list. | |||
![]() |
|
|||
|
||||
![]() |
You cannot create styles containing characters such as < > . / : ; " ' \ | as well as spaces at the beginning and/or at the end of the style's name. | |||
|
||||
|
||||
|
||||
|
||||
|