Creating Catalogs, Sections and Catalog Components
- Last UpdatedJan 13, 2023
- 2 minute read
Catalogs and Sections are created using the NEW command. You would normally also specify names by which you can recognize and refer to the elements created. For example:
NEW CATA /ANSI-CATALOGUE
will create a Catalog with the name /ANSI-CATALOGUE in the Catalog database.
NEW SECT /FLANGES
NEW STSEC /PROFILES
will create a Piping Section with the name /FLANGES and a Structural Section with the name /PROFILES. Similarly,
NEW CATEG /ANSI-B16.5-CLASS-300-BLIND-FLANGES
NEW STCAT /UNIVERSAL-BEAM
will create a Piping Category and a Structural Category with the names given.
A Catalog Component is represented by one of the Component elements SCOM, SPRF, SJOI, SFIT (refer to Catalog Components).
NEW SCOM
will create a Piping Component with unspecified component parameters, the values of which may be set later.
If the Component is to be named, this can be done at the same time; for example,
NEW SFIT /EKAA2VEE
The attributes of the Component (refer to Catalog Components) are set simply by following the attribute with the word, name or value(s) to be assigned to it. For example:
NEW SCOM
GTYPE ELBO
PTREF /PSE1
GMREF /GSE1
PARAM 20 19.1 12.7 37.1 BWD
The above commands create a Piping Component, of generic type ELBO, which is defined by 3D Pointset /PSE1 and 3D Geomset /GSE1, and which has the five component parameters shown. The Pointset and Geomset which are referred to by name must already exist; they would have been created by the commands
NEW PTSET /PSE1
NEW GMSET /GSE1
All five component parameters have been given values using a single command line, but they can be given values individually by using commands such as
PARAM[1] 20
PARAM{2] 19
...
etc.
Note:
You can only use the PARAM[number] syntax to change the value of a parameter which has already been set.
This facility allows component parameter definitions to be ‘edited’.
Caution:
If you delete a Piping Component (COMP) which is referred to by a Specific Component
(SPCO) - via the Catalog Reference (CATREF) attribute of a design component - this
reference will be lost.
The use of component parameters and the other classes of parameter is discussed and illustrated in the next section.
Note:
If you give a PARAM command with, say, four values as a single command line, Paragon sets the values of the first four component parameters and deletes all the rest.
You may define default values which Paragon will use if you are working with a Component whose component parameters have not been set up. Refer to Parameters for further information.
The attributes of a Component may be queried by a
QUERY ATTRIBUTES
command, or may be queried individually by name. Component parameters can be queried as a set by using the command
QUERY PARAMETERS
or singly by using commands such as
QUERY PARAMETER[1]
QUERY PARAMETER[2]
etc.