Professional Documents
Culture Documents
Learning Objectives
Discover how spec items are linked to their source catalog
Discover how AutoCAD Plant 3D model components are linked to their spec items
Learn how to incorporate spec changes into 3D models during the course of a plant design project
Learn workflows for updating piping specs while maintaining relationships with catalogs and 3D
models
Description
This class will cover the benefits of maintaining the connection between your AutoCAD Plant 3D
software catalog, spec, and 3D models, and how to implement workflows to ensure your team’s ability
to update model components from the specs and catalogs. We will explore in-depth how to establish
and maintain a link between the AutoCAD Plant 3D catalog and spec. Also, we will cover how AutoCAD
Plant 3D software establishes a link between the model and spec components and proper workflows for
keeping this connection viable during the various types of changes typical to a plant design project. We
will also explore the behavior of the PLANTSPECUPDATECHECK command and how you can use it to
keep your models up to date with spec and catalog modifications.
Your AU Expert
After studying Mechanical Engineering at Caltech, Joel Harris worked for an AutoCAD third-party
developer named Synthesis and also began teaching AutoCAD classes at Bellingham Technical College.
From there he started a 23-year career as a piping designer and Plant software developer/administrator
for an engineering company in Bellingham, WA. He's the author of Autodesk’s “Introduction to Piping
Design with Plant 3D” college curriculum and is part of the Autodesk Enterprise Priority Support team of
specialists.
Contents
Learning Objectives ............................................................................................................................. 1
Description .......................................................................................................................................... 1
Why Spec Changes Happen to Good People ..................................................................................... 3
A Glimpse behind the Curtain .......................................................................................................... 3
Examining the Spec-Catalog Connection .............................................................................................. 4
How does a spec know where to find the catalogs that were used while creating it? ....................... 4
Where do I look in the spec for my components and their GUIDs? ................................................... 8
Updating the Spec Parts with Catalog Updates................................................................................. 9
Examining the Model-Spec Connection .............................................................................................. 13
Where do I look in the spec and project database for my components and their IDs? .................... 13
Updating the Model with Spec Changes ............................................................................................. 15
Controlling How and When AutoCAD Plant 3D Checks for Spec Updates ........................................ 15
Maintaining Connections and Incorporating Catalog/Spec Changes in Models during a Project ......... 19
Workflow Example: Updating Catalog Parts ................................................................................... 20
Workflow Example: Adding Catalog Parts to Specs/Modifying Specs .............................................. 22
Workflow Example: Renaming a Spec ............................................................................................ 25
Summary ........................................................................................................................................... 27
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Important Fact #1
AutoCAD Plant 3D uses the process of adding a component to a catalog, spec or 3D model as a trigger to
assign it a new ID. These IDs are used throughout the software to track items and their relationships
with each other. They are hidden from the user interface, but are stored within the catalog files, the
spec files and the project database files.
Because AutoCAD Plant 3D and P&ID are SQL based, you can use SQL or SQLite tools to view these files
and get a peek behind the scenes. During this class we will be using one such tool called “SQLite Expert”
3
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
How does a spec know where to find the catalogs that were used while creating it?
All AutoCAD Plant 3D piping specs are comprised of two files with the same name but different
extensions: <specname>.pspc and <specname>.pspx. The <specname>.pspc file is a SQLite
database that contains many tables and views. For those unfamiliar with databases, think of
each table as a set of data stored in a grid of rows and columns and each view as a custom grid
of data pulled from one or more tables as a result of a database query statement. For the
purposes of this class, we will only need to refer to one table (named EngineeringItems) and one
view (named EngineeringItems_PNP) in the spec. Either can be viewed in a SQLite viewer to see
the data that is used by both AutoCAD Plant 3D and the AutoCAD Plant 3D Spec Editor.
4
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
5
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
So when it comes the finding the catalog from the list of catalog names in the spec, the software
looks in two places and then prompts the user if it still can’t find the catalog:
6
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
1. First, the AutoCAD Plant 3D Spec Editor looks in the <specname>.pspx file. This file is
actually a compressed folder (you can change its extension to ZIP temporarily to see its
contents – just remember to change it back before attempting to use the spec). Inside
of this compressed folder is another folder called “editor” that contains a file called
CatalogReferences.xml. In this xml file is a list of all of the referenced catalogs and their
full paths:
2. Second, if the AutoCAD Plant 3D Spec Editor doesn’t find the catalog references in the
path specified in the .pspx file (or if the “editors” folder is missing from the .pspx file)
then the AutoCAD Plant 3D Spec Editor looks for the catalog in the Shared Content
Folder. This folder is defined when the software is installed and can be changed either
with the PLANTMODIFYSHAREDCONTENTFOLDER command in AutoCAD Plant 3D or
with the “Tools > Modify Shared Content Folder” menu command in the AutoCAD Plant
3D Spec Editor.
7
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
8
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Important Fact #2
9
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Once the synchronization process is complete, the Spec Update Notification dialog box is shown if
differences between the spec and catalog parts have been found:
What happens during the spec “Update from Catalog” process is the following:
1. All the referenced catalogs are collected from the spec. The list of referenced catalogs is
generated from values in the CatalogId column and then located using either the
contents of the .pspx file or the Shared Content Folder (as previously explained).
10
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
2. A part in the spec is matched with a part in the catalog using its SizeRecordID column
value. Multiple parts in the spec can have the same SizeRecordID value, while only one
part in the catalog can.
3. All column values in the spec (except system values) are compared and differences
reported. A property is compared if:
a. it is checked in the Update Spec From Catalog Settings dialog, and
b. it is present in both the spec and catalog.
4. The user is shown the Spec Update Notification dialog box and can choose to review and
either accept or reject the updates to the spec.
The settings for what properties are compared and subsequently synchronized are located in the
AutoCAD Plant 3D Spec Editor pull-down menu “Specs > Update Specs from Catalog Settings” command.
11
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
It is important to establish workflows that support effective use of the spec and catalog synchronization.
For example, if you have established a spec-building procedure that uses the Property Overrides in the
Spec Editor to add Material, Material Code or Schedule to your catalog items as they are inserted into a
spec, you will want to be sure to deselect those properties from the Update Specs from Catalog Settings.
Otherwise, the first time you run the “Check for Updates from Catalogs” command it will overwrite your
spec values with whatever values are in the catalog, even if they are blank (which they most likely would
be in this scenario).
12
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Where do I look in the spec and project database for my components and their IDs?
Much like the how the SizeRecordID is used to connect a spec part with a catalog part, the
AutoCAD Plant 3D software uses the PnPID of the part in the spec to relate it to the
SpecRecordID in the project database. However, there are two differences with these IDs:
1. They are not GUIDs, but rather a numeric sequential ID. This incremental number is
unique within the project and spec, but not globally.
2. They are located within the project database in two places:
a. In the PipeRunComponent table, where the PnPID is the unique ID for the item
in the project database and the SpecRecordID is associated with it. This is not a
good place to look at the items though, because there is no descriptive
information telling us specifics about the part (i.e. whether it is a flange, pipe,
etc.).
b. In the view for the specific item types; for example, the Flange_PNP view
(shown in Figure 11 below) shows the relationship between the flanges in the
project database and the SpecRecordIDs (which are the PnPID unique IDs for the
parts in the spec database).
13
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Important Fact #3
Later in this class, we will cover some workflows to allow you to update items in the spec without
breaking the connections to the 3D model. The primary things to note here are:
The spec name is important to the connection with the 3D model; if you rename the spec it
won’t be connected with the original part(s) in the 3D model. We will cover a workflow later on
how to rename a spec and keep it connected with parts in the project 3D model(s). Also, if the
spec is moved from the project specs folder, it won’t be found by Plant 3D.
The PnPID of the parts in the spec are auto-generated by the Spec Editor when parts are added
to the spec. Therefore, once you remove a part from the spec you have “broken” that
connection to the 3D model. Even rebuilding the spec with the same catalog parts doesn’t
14
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
guarantee that you will get the same PnPID numbers auto-generated within the spec. A proper
workflow for modifying specs will be covered in a later section of this class.
You can use the AutoCAD COPY, ARRAY, etc. to create new instances of a part in the 3D model
and the new parts will have the same Spec and SpecRecordID of the original part. In other
words, there is a “one to many” relationship between a spec part and the associated model
parts. It is common for multiple parts in the 3D model to be associated with one part in the
spec. This just underlines the importance of having the correct workflows when modifying
specs: change one thing incorrectly and you end up having to fix many things later.
The next section will explain the steps involved in updating AutoCAD Plant 3D models with spec changes
and give you a deeper understanding of what is happening within the software.
15
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
properties that are specified under “Project Setup > Plant 3D DWG Settings > Spec Update
Settings”:
6. Non-graphical and graphical properties are compared independently. All instances of a part in
the project are affected if a non-graphical property is updated in the spec. Examples of non-
graphical properties would be the Manufacturer or PartSizeLongDesc. If a Geometric property
(parametric values) is updated in the spec, only the part instances in the current open drawing
are updated. The PLANTSPECUPDATECHECK command must be run individually on all drawings
in the project to force a redraw of geometric changes.
7. Once the synchronization analysis is complete the user will be presented with the Spec Update
Notification dialog (shown below). This dialog only applies to non-graphical changes in the
model, so accepting the updates will only synchronize non-graphical, descriptive data changes:
16
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
17
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
By selecting the check box and then selecting the Update Parts button, it will change the
graphics of those parts to reflect the spec changes. To see the affected parts highlighted in the
3D model, select the “Show Parts” button for the part listed in the dialog. When finished, the
dialog box must be closed manually. What constitutes a “graphical” change to the spec?
Important Fact #4
So, even though the “Edit Parts” button in the Spec Editor allows the user to edit text and
numeric data that looks like dimensional data, this is not considered to be graphical data by
AutoCAD Plant 3D and is easy to get “out of sync” by editing in this fashion. Figure 15 shows
some examples of non-graphical data in the spec posing as dimensional parameters:
18
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
19
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
“User” incorporates spec changes generated by “Admin” into 3D models in a timely fashion to
avoid manual rework on project deliverables or re-issuing of documents due to late changes.
“User” needs to take responsibility for the design implications of spec changes as well as other
downstream effects (re-ordering of materials, piping layout considerations, re-extracting isos,
etc.).
“Admin” is responsible for making changes to specs and catalogs.
“Admin” should be aware of the impact of spec changes and communicate closely with the
project team on the timing of incorporating changes to specs. This will help avoid unexpected
changes in the middle of generating package deliverables.
“Admin” must understand all processes outlined in this class and implement workflows that
support the capabilities of the AutoCAD Plant 3D and Spec Editor software.
“Admin” is responsible for maintaining backup copies of project specs and catalogs (and possibly
revisions with supporting documentation).
These roles may be shared by some people on the project team, but typically are distinct to specific
individuals - especially on larger projects. Now that the roles are defined, it is time to examine the
critical workflows surrounding changing specs and catalogs while projects are underway.
20
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
FIGURE 17: WORKFLOW FOR PROPAGATING PART CHANGES IN CATALOG THROUGH SPEC TO 3D MODEL
Modifying Parts in the Catalog (all done by “Admin”)
1. Before editing, make a backup of the catalog (.pcat) file.
2. Open the catalog in the Catalog Editor
3. Find and highlight the items that need to be changed using the Catalog Browser (bottom
pane)
4. Change the data for the parts using the Piping Component Editor (top pane). Select the
Sizes tab to edit geometric parameters (with the Size Parameters pane) or size-specific
non-graphical properties (with the Piping Component Properties pane).
5. Commit the changes to the catalog with the “Save to Catalog” button. This does not
save the catalog file (.pcat) but saves the changes you make into the catalog that is
currently loaded in the Catalog Editor, which is sufficient for using the “Specs > Check
for Updates from Catalog” command.
6. Verify that the changes you made will be updated in the specs with the “Specs > Update
Specs from Catalog Settings” command.
7. For a single spec, open it in the Spec Editor and run the “Specs > Check for Updates from
Catalog” command. For multiple specs, run the “Specs > Batch Update Specs from
Catalogs”.
8. Save (and close) the modified spec and catalog files.
Next let’s look at an example of a situation where you would keep a catalog item even though it is going
to be radically changed. Assume that catalog “My Valves” contains the following valves that have been
added to multiple specs and inserted into multiple 3D models in my project:
Long Description (Family) = Gate Valve, Conduit, 150 LB, RF, ASME B16.10
21
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Although this is a valid valve description (the manufacturer has it in their catalog) and you plan on using
it in the future, currently every spec that references it needs to have this valve swapped out with a valve
that has the following description:
Long Description (Family) = Gate Valve, Conduit, 150 LB, RF, ASME B16.10 NACE Trim
Having the “User” replace every item in every model would be time consuming but is possible. Utilizing
the Catalog > Spec > 3D Model connections to update these valves automatically would be preferred.
To do this, you would follow these steps (all done by “Admin”):
1. Open the “My Valves” catalog in the Catalog Editor.
2. Find and highlight the “Gate Valve, Conduit, 150 LB, RF, ASME B16.10” valves in the Catalog
Browser
3. Right-click and select Copy (Ctrl-C)
4. Right-click again and select Paste (Ctrl-V). You should see a new set of valves appear with the
same Long Description (Family) except with “-Copy” appended on the end. If you don’t see
them, be sure that your filters are set so that you would see both the original and new valves.
5. Select the original valves (without the “-Copy”) and modify the Long Description (Family) to
include the “NACE Trim” on the end. Make this change under Piping Component Properties.
6. Select “Save to Catalog” to commit these changes to the “My Valves” catalog. By modifying
these valves you maintain the connections with the existing specs and hence the parts in the 3D
models. You can update the specs and have the users update their 3D models automatically.
7. Finally, go back and remove the “-Copy” from the new valve so that it now resembles the
original valve, but is not connected to any spec or 3D model parts because it has a new
SizeRecordID.
In summary, do:
Change items in the catalog that currently exist in specs and then update the specs. This will
save time even if there are multiple changes in the catalog because of the time savings found
when updating specs and models by maintaining current connections rather than current
properties. This especially works if you need to add items to the catalog in the process of
making the change (i.e. the new part doesn’t already exist in the catalog and is referenced in
specs and models).
Don’t:
Delete items from your spec and then re-insert them from the catalog. This breaks the Spec >
3D Model connection for existing parts. If you must add items to a spec and need to remove the
unwanted items, review the next workflow first to see if it provides a time-saving method of
updating specs and models with existing catalog items.
22
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Let’s say that we have a spec called “My AU Spec” that has the conduit gate valve in it but we have to
replace the conduit valve with the double disc gate valve – the conduit is no longer allowed to be used in
that spec. However, not only has the conduit valve already been inserted many times in several 3D
models, but several specs contain both of the valves shown above so making changes to either one in
the catalog is not a viable option.
This scenario would be a good candidate for the following workflow that allows the catalogs to remain
unchanged but still utilizes the Spec > 3D Model connections to perform updates to the parts in the 3D
models.
Modifying Parts in the Spec (all done by “Admin” unless otherwise noted)
1. Before editing, make a backup of the spec (.pspc & .pspx) files.
2. Open the “My AU Spec” spec in the Spec Editor
3. Open the “My Valves” catalog in the catalog browser
4. Find and highlight the double disc gate valve that needs to be added to the spec using
the Catalog Browser (bottom pane). Be sure that the correct size range is selected, etc.
5. Select the “Add to Spec” button. Now both valves are in the spec:
6. Now, highlight the conduit valve in the Spec Editor (top pane). Since this valve is no
longer allowed in the spec but is still a valid part in the catalog, you have two choices:
a. Delete the valve from the spec. This will effectively “orphan” all instances of the
valve in the project’s 3D models, not allowing it to be updated from the spec. If
you do this, the “User” will have to find all of the conduit valves and delete
them manually. This is the less preferred option.
23
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
10. Open one of the models in the project and run the “PLANTSPECUPDATECHECK”
command.
11. Accept the changes to the parts. Remember that since these are non-graphical
properties they will be updated for all models in the project.
12. Open Data Manager and set it to Current Drawing Data and Order by Object Type as
shown in Figure 19.
13. Click on the Long Description (Family) header to sort by this value. This will group all of
the “out of spec” items together as shown below:
24
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
FIGURE 20: USING SUBSTITUTE PART GRIP TO REPLACE OUT-OF-SPEC PARTS IN 3D MODEL
In summary, do:
Leave items in the spec that currently exist in 3D models even if they are no longer allowed.
Change their descriptions (to make them searchable in Data Manager) and then update the
parts in the 3D model from the spec. This will save time and allow “User” to easily find and
substitute the correct valves (which are also in the spec).
Don’t:
Delete items from your spec just because they are no longer allowed – instead change the
description to indicate it is no longer a spec item. By leveraging the PLANTSPECUPDATECHECK
command you can ensure that all out-of-spec parts are caught and replaced by “User”.
25
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
2. “Admin” notifies users of new spec creation and that the old spec is going to be removed from
the project at a given date. This gives “User” time to perform the next steps.
3. “User” opens model and identifies piping systems which were created using the old spec name.
This can be done via Data Manager or through AutoCAD Layer control.
4. “User” selects entire piping systems that reference the old spec and change the Spec to the new
spec name using the Properties palette.
5. “User” uses Data Manager to confirm that all piping systems referencing the old spec name have
been updated in all project 3D models.
6. “Admin” receives verification from “User” that old spec is no longer referenced in 3D models
and then removes the old spec from the project. It is recommended that a copy of the old spec
be archived at this point.
26
OG11136 - AutoCAD Plant 3D Specs and Catalogs: How to Create “Unbreakable” Project Workflows
Do: Rename a spec with the “File > Save As” command in the AutoCAD Plant 3D Spec Editor. Then you
would change the spec name using the Properties palette.
Summary
Managing spec changes during the execution of a project, or multiple projects, requires simple but
defined workflows that – once documented and understood by the entire team – can be effectively
implemented with AutoCAD Plant 3D. I hope this document serves as a foundation for you to develop
your own company workflows that will help your teams develop productive habits with the software
and move you closer to successful project completions that are under budget and under schedule.
27