Inventor uses Extensible Markup Language (XML) files as a means of storing style information externally from Inventor documents. The schema of the Style Library XML files is subject to change from release to release.
XML files are used in two different ways to store style information:
You use the Style and Standard Editor to add and change styles, but they are saved in the current document. They are not available for use in other documents unless you save the style to the style library.
There are two general mechanisms of styles management: Style Name/Value and Substyles. All management interactions between documents, styles, and Style Libraries use these two mechanisms to ensure that the end object using a style has all required information.
Style Name/Value
Inventor uses the style name as the unique style identifier. No two styles of the same type can have the same name in the same container. For example, inside a single drawing, there can only be one dimension style named "Default (ANSI)".However, there can be a dimension style named "Default (ANSI)", and a text style name "Default (ANSI)" in the same drawing, because they are two different style types. When Inventor compares two styles of the same name, it checks all of the properties in each style to see if they are equal. This comparison is a value comparison. If a style in a document has a name match to a style in a library, and the values of these two styles are equal (every attribute is the same value), it is considered an exact Name/Value match. The concept of a Name/Value match is used by Inventor to perform automated tasks.
Substyles
Styles encapsulate and reuse sets of properties. This encapsulation enables reuse of one type of property set as a subset of another. One style can reference another style that contains needed information. When a style is referenced by another style, it is regarded as a substyle.
For example, dimension styles have three substyles:
A style only knows the name of its substyle. It knows nothing about the values of the properties contained in the substyle. When Inventor checks if a style in one container (a document or a style library) is an exact Name/Value match to a style in another container, it verifies that each style is referencing a substyle of the same name. A Name/Value match between the substyles is not necessary for the owning style to have an exact Name/Value match.
When a style is copied from one container to another, Inventor ensures that any substyle required by the parent style is present in the destination container. If the substyle does not exist in the destination container, it is copied along with the parent style. If the substyle does exist, the destination’s version of the substyle is used.
Styles are shared (or copied) among documents in two different ways:
In parts, all styles from the active library, as well as styles cached in the local document, are shown in the style drop-drop list or wherever a style is chosen. (In Inventor, the same is true in sheet metal parts, assemblies, and presentations.) In drawings, only styles that are locally cached, or are part of the active standard, are displayed and available for selection.
Day-to-day interactions between a document and a style library are transparent. Any style used inside of a document is automatically copied (cached) to that document. It ensures that the document has required style information if a library becomes unavailable, or, in the case of Inventor, if a document is accessed from a project with a different style library or a project without a style library.
Considerations that influence what styles (or version of a style) are available:
The most common tasks of managing styles between documents and style libraries are performed automatically.
Automatic Copy into Document:
When a style from the library is used, it is copied into the document automatically with all necessary substyles.
Automatic Style Cleanup:
Styles that are automatically copied into a document are automatically removed from that document whenever they are no longer in use. It allows the document to remain uncluttered of unused metadata without need for user intervention.
Automatic cleanup only happens when Inventor is sure that no style data is lost if the style is removed. Styles are only automatically removed from a document if:
If Inventor cannot find an exact Name/Value match for the style in the library, or if a style was manually cached from a library into a document using the Style and Standard Editor’s Cache in Document function, Inventor leaves the style in the document until it is manually purged.
You perform the majority of style management tasks inside of Inventor. You can:
Styles in drawings are related to the active drafting standard of the drawing. The active drafting standard specifies the styles used to format drawings. Each standard has major style types such as balloons and dimensions, which each specify the formatting for individual attributes. Styles define, for example:
Styles in parts and assemblies control lighting attributes.
Styles in parts control lighting attributes.
Styles in sheet metal parts also control lighting attributes and additional sheet metal-specific attributes and options including: gage or sheet thickness, bend, corner, alternative flat pattern representations for punches and unfolding preferences.
Because some styles rely on other styles for formatting (such as the text style used to format dimensions), a change can ripple through all other styles that reference the changed style.
Modified styles affect the current document only, unless you use Manage tab Styles and Standards panel Save and then update other documents from the style library. Usually, if you are using Inventor, changes to the style library are managed by the CAD administrator.
In the Style and Standard Editor dialog box, you can specify the style list. Click the arrow on the Filter and choose: