Piping > Setting Up Piping Library > Non Spec-Driven Parameters > Line Stock Parameter Files
Line Stock Parameter Files
To Add Line Stock Parameter Files
Using the LineStock Dialog Box
Example: Typical Line Stock Parameter File
A line stock is a set of parameters that define material, grade, outside diameter, and other parameters of pipeline segments. Piping stores the parameters in the line stock feature. Before you create a pipeline, you must define a line stock.
You can assign different line stocks to different line segments of the same pipeline because they may have different outside diameters, materials, and grades. Keep in mind that the system determines a pipeline’s physical (solid) shape based on the line stock from which it actually derived the pipe.
You can edit line stock parameters using the LineStock dialog box, and you can add user-defined attributes to the list. You can also read and write a line stock to a .stk file.
You can set up a library of line stocks that you can retrieve to route a particular pipeline. These files have the extension .stk. You can also create line stocks on the fly whenever you assign a new line stock to a line segment. Add the pro_pip_lnstk_dir line stock configuration file option to your configuration file. This directory is the path to your library of line stocks.
When a line stock parameter has multiple values, the first value is the default, and all specified options are available when you work with a pipeline.
The system uses the parameters identified as check pipe to compare the characteristics of a pipeline when you check for line stock violations.
To Add Line Stock Parameter Files
1. Click Setup > Line Stock and select Create.
2. Type a name for the line stock and click . The LineStock dialog box opens.
3. Edit the line stock parameters as desired and click:
OK to apply the line stock changes and quite the dialog box.
Save to save the line stock into file. The Save a Copy dialog box opens. Click OK.
A dot and message appear at the bottom of the LineStock dialog box, informing you of the name of the new line stock file.
Using the LineStock Dialog Box
The LineStock dialog box has three tabs: LineStock, DesignRule, and Defined. The tabs separate and identify the parameters and allow you to add and modify line stock and bend parameters. The variable type (integer, double or string) is automatically assigned based on the syntax of the entry for the user-defined parameters only.
The LineStock tab consists of several areas in which you can change line stock parameters.
General Parameters
Stock NoPipe is the default value. You can change it to any continuous string, for example, plastic_tubing.
MaterialSteel is the default value. You can change it to any continuous string, for example, solid_brass.
GradeA123 is the default value. You can change it to any continuous string.
Material File—Sets a material file. Type the filename or click to browse to the standard Creo material file.
X SectionRectangular or Circular. Select the cross section type for the example displayed in theSection Parameters box.
Section TypeHollow or Solid. Select the section type for the pipe displayed in the Section Parameters box.
Section ParametersHeight, Width, Angle, and Thickness if the X Section option is set to Rectangular. Pipe OD and Thickness if the X Section option is set to Circular.
Shape TypeStraight or Flexible is indicated by an option button that specifies the default setting.
When the Shape Type is Straight, the Corner Type is active, and you can select one of the three Corner Types, Bend, Fitting, or Miter Cut.
When the Shape Type is Flexible, the Corner Type and Bend information are not active.
You can also edit the following values:
Weight/Length—The weight per unit length parameter that defines the density of any pipe solid part that is created on the pipe line.
Bend Radius, Bend Angle, Miter Cut Length, and Miter Cut Number for the Corner Type you have chosen.
Corner TypeBend, Fitting, or Miter Cut.
The indicator dot assigns the default corner type.
The DesignRule tab contains the default Design Rule parameters. You can change the active parameters. If you click Save, all the line Stock parameters are saved to a file. If you click OK, the changes to the Design Rule parameters are applied to the routed pipe.
If the Shape Type line Stock parameter is set to Straight, all of the Design Rule parameters are active. If it is set to Flexible, some of the Design Rule parameters are not available.
Use the Design Rule parameters to verify that the parameters of a routed pipe are within limitations
The Defined tab contains user defined parameters. You can add user-defined Line Stock or Bend parameters by typing a name and value, and then clicking .
If you click Save, the Line Stock is saved to a file.
If you click OK, the Line Stock is created with the assembly.
While you are editing, the parameter is not applied to the routed pipe parametrically.
The parameter name should begin with a letter.
Example: Typical Line Stock Parameter File
OD 0.25
BEND_ANGLE 90 45 60
MITER CUT LENGTH 0.05 0.1 0.5