You can use import and export to copy styles between documents. The style is exported in a special *.styxml file, which is then imported into another Inventor document.
Sharing styles by importing and exporting is different from using a style library to share styles. Some guidelines to keep in mind when importing and exporting styles:
- No active link can be made to an exported style file, so Update Style cannot be used to update an exported style.
- When importing a style, an existing style with the same name is automatically replaced by the imported style. When updating from a style library, styles are not replaced automatically. Confirm when a style with the same name is encountered.
- An exported style (an *.xtysml file) is self-contained; it includes all substyles used by an exported style. For example, an exported dimension style also includes the text and leader substyles.
A style library maintains each style type in a separate .xml file.
To export styles
- On the ribbon, click Manage tab
Styles and Standards panel
Styles Editor .
- In the Style and Standard Editor, locate the style you want to export and then right-click and select Export.
- In the Export Style Definition dialog box, browse to a location and enter a name for the exported style. A file is created with the .styxml extension.
If the exported style has substyles, such as a dimension style using the text style as a substyle, it is also exported in the same file.
To import styles
- On the ribbon, click Manage tab
Styles and Standards panel
Styles Editor .
- In the Style and Standard Editor, click Import.
- In the Import Style Definition dialog box, browse to a location and select the desired file with the .styxml extension.