Use the Tube & Pipe Styles command to import and export files. During import, the Import Tube & Pipe Styles dialog box is displayed. Use this dialog box to preview the data and resolve any issues that exist.
To make the new styles available for all routes and runs, you must import and save them to the master runs assembly. Styles are imported into the current active runs assembly by default.
Some data issues that can cause problems include:
- the style already exists in the local runs template
- the style has the same name but different type or category
- the style has the same name but different property values
- the component does not exist in Content Center
- the component uses a material that is not in the template
- the component has no family members with the specified diameter
Import styles
- Activate the Tube & Pipe Runs assembly, a pipe run, or a route.
- Click Tube & Pipe Styles .
- Click Import .
- In the Select Tube & Pipe Style Data File dialog box, browse to and select the .xml file you need.
- Click OK.
The import data is parsed and a list of all the styles and components defined in that file is generated.
- Optionally, correct any issues that are detected.
Correct styles before import
If issues with the imported styles exist, the Import Tube & Pipe Styles dialog box is displayed. An error condition icon is displayed for any style or component that has an issue.
An easy way to fix an error condition is to first filter the browser to include error conditions only, view the issue description and solution, and then perform the recommended action.
- Click Filter and select Show Issues Only to narrow the list.
- Right-click an item with an error condition and select Issue Description to view the details and recommended solution for an issue.
- To perform the recommended solution, right-click an item with an error condition and select the appropriate action:
- Select Rename to provide a unique name for the style.
- Enable Overwrite to overwrite the existing style in the template. Disable this option to prevent the style from importing.
- Enable Import to import the selected style into the template with the listed error. The error appears in the Tube and Pipe Styles dialog box when you view the style. Navigate to and select the needed component. Disable this option so that the style is not imported.
- Click OK. A log file is created in the location of the master runs assembly.
Export styles
- Activate the Tube & Pipe Runs assembly, a pipe run, or a route.
- Click Tube & Pipe Styles .
- In the Tube & Pipe Styles dialog box browser select one or more styles to export. You can export entire categories, and multiple individual style definitions from one or several categories of the same or different style types.
- Click Export .
- In the Select Tube & Pipe Style Date File dialog box, browse to and select the xml file you need, and then click OK.