0% found this document useful (0 votes)
17 views

SPPIDDataModel (1)

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

SPPIDDataModel (1)

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

SmartPlant P&ID

Utilities Guide

Version 2014 R1 (7.1)

March 2015

DPID2-PE-200028H
Copyright
Copyright © 1999-2015 Intergraph® Corporation. All Rights Reserved. Intergraph is part of Hexagon.
Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement; contains
confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret law, and
international treaty, and may not be provided or otherwise made available without proper authorization from Intergraph Corporation.

U.S. Government Restricted Rights Legend


Use, duplication, or disclosure by the government is subject to restrictions as set forth below. For civilian agencies: This was
developed at private expense and is "restricted computer software" submitted with restricted rights in accordance with
subparagraphs (a) through (d) of the Commercial Computer Software - Restricted Rights clause at 52.227-19 of the Federal
Acquisition Regulations ("FAR") and its successors, and is unpublished and all rights are reserved under the copyright laws of the
United States. For units of the Department of Defense ("DoD"): This is "commercial computer software" as defined at DFARS
252.227-7014 and the rights of the Government are as specified at DFARS 227.7202-3.
Unpublished - rights reserved under the copyright laws of the United States.
Intergraph Corporation
305 Intergraph Way
Madison, AL 35758

Documentation
Documentation shall mean, whether in electronic or printed form, User's Guides, Installation Guides, Reference Guides,
Administrator's Guides, Customization Guides, Programmer's Guides, Configuration Guides and Help Guides delivered with a
particular software product.

Other Documentation
Other Documentation shall mean, whether in electronic or printed form and delivered with software or on Intergraph Smart Support,
SharePoint, or box.net, any documentation related to work processes, workflows, and best practices that is provided by Intergraph
as guidance for using a software product.

Terms of Use
a. Use of a software product and Documentation is subject to the End User License Agreement ("EULA") delivered with the
software product unless the Licensee has a valid signed license for this software product with Intergraph Corporation. If the
Licensee has a valid signed license for this software product with Intergraph Corporation, the valid signed license shall take
precedence and govern the use of this software product and Documentation. Subject to the terms contained within the
applicable license agreement, Intergraph Corporation gives Licensee permission to print a reasonable number of copies of the
Documentation as defined in the applicable license agreement and delivered with the software product for Licensee's internal,
non-commercial use. The Documentation may not be printed for resale or redistribution.
b. For use of Documentation or Other Documentation where end user does not receive a EULA or does not have a valid license
agreement with Intergraph, Intergraph grants the Licensee a non-exclusive license to use the Documentation or Other
Documentation for Licensee’s internal non-commercial use. Intergraph Corporation gives Licensee permission to print a
reasonable number of copies of Other Documentation for Licensee’s internal, non-commercial. The Other Documentation may
not be printed for resale or redistribution. This license contained in this subsection b) may be terminated at any time and for any
reason by Intergraph Corporation by giving written notice to Licensee.

Disclaimer of Warranties
Except for any express warranties as may be stated in the EULA or separate license or separate terms and conditions, Intergraph
Corporation disclaims any and all express or implied warranties including, but not limited to the implied warranties of merchantability
and fitness for a particular purpose and nothing stated in, or implied by, this document or its contents shall be considered or deemed
a modification or amendment of such disclaimer. Intergraph believes the information in this publication is accurate as of its
publication date.
The information and the software discussed in this document are subject to change without notice and are subject to applicable
technical product descriptions. Intergraph Corporation is not responsible for any error that may appear in this document.
The software, Documentation and Other Documentation discussed in this document are furnished under a license and may be used
or copied only in accordance with the terms of this license. THE USER OF THE SOFTWARE IS EXPECTED TO MAKE THE FINAL
EVALUATION AS TO THE USEFULNESS OF THE SOFTWARE IN HIS OWN ENVIRONMENT.
Intergraph is not responsible for the accuracy of delivered data including, but not limited to, catalog, reference and symbol data.
Users should verify for themselves that the data is accurate and suitable for their project work.

2 SmartPlant P&ID Utilities Guide


Limitation of Damages
IN NO EVENT WILL INTERGRAPH CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL INCIDENTAL,
SPECIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO, LOSS OF USE OR PRODUCTION, LOSS OF
REVENUE OR PROFIT, LOSS OF DATA, OR CLAIMS OF THIRD PARTIES, EVEN IF INTERGRAPH CORPORATION HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
UNDER NO CIRCUMSTANCES SHALL INTERGRAPH CORPORATION’S LIABILITY EXCEED THE AMOUNT THAT
INTERGRAPH CORPORATION HAS BEEN PAID BY LICENSEE UNDER THIS AGREEMENT AT THE TIME THE CLAIM IS
MADE. EXCEPT WHERE PROHIBITED BY APPLICABLE LAW, NO CLAIM, REGARDLESS OF FORM, ARISING OUT OF OR IN
CONNECTION WITH THE SUBJECT MATTER OF THIS DOCUMENT MAY BE BROUGHT BY LICENSEE MORE THAN TWO (2)
YEARS AFTER THE EVENT GIVING RISE TO THE CAUSE OF ACTION HAS OCCURRED.
IF UNDER THE LAW RULED APPLICABLE ANY PART OF THIS SECTION IS INVALID, THEN INTERGRAPH LIMITS ITS
LIABILITY TO THE MAXIMUM EXTENT ALLOWED BY SAID LAW.

Export Controls
Intergraph Corporation’s software products and any third-party Software Products obtained from Intergraph Corporation, its
subsidiaries, or distributors (including any Documentation, Other Documentation or technical data related to these products) are
subject to the export control laws and regulations of the United States. Diversion contrary to U.S. law is prohibited. These Software
Products, and the direct product thereof, must not be exported or re-exported, directly or indirectly (including via remote access)
under the following circumstances:
a. To Cuba, Iran, North Korea, Sudan, or Syria, or any national of these countries.
b. To any person or entity listed on any U.S. government denial list, including but not limited to, the U.S. Department of Commerce
Denied Persons, Entities, and Unverified Lists, http://www.bis.doc.gov/complianceandenforcement/liststocheck.htm, the U.S.
Department of Treasury Specially Designated Nationals List, http://www.treas.gov/offices/enforcement/ofac/, and the U.S.
Department of State Debarred List, http://www.pmddtc.state.gov/compliance/debar.html.
c. To any entity when Licensee knows, or has reason to know, the end use of the Software Product is related to the design,
development, production, or use of missiles, chemical, biological, or nuclear weapons, or other un-safeguarded or sensitive
nuclear uses.
d. To any entity when Licensee knows, or has reason to know, that an illegal reshipment will take place.
Any questions regarding export or re-export of these Software Products should be addressed to Intergraph Corporation’s Export
Compliance Department, Huntsville, Alabama 35894, USA.

Trademarks
Intergraph, the Intergraph logo, Intergraph Smart, PDS, SmartPlant, SmartMarine, FrameWorks, I-Sketch, IntelliShip, ISOGEN,
Sapphire, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks of Intergraph
Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered trademarks of
Microsoft Corporation. MicroStation is a registered trademark of Bentley Systems, Inc. Other brands and product names are
trademarks of their respective owners.

SmartPlant P&ID Utilities Guide 3


4 SmartPlant P&ID Utilities Guide
Contents
SmartPlant P&ID Utilities ............................................................................................................................ 7
Check Item Paths Utility .......................................................................................................................... 7
Check Symbols Utility ............................................................................................................................. 7
Check Symbols in a Plant ................................................................................................................ 8
Sample Check Symbol Log File ....................................................................................................... 9
Clean Data Utility (DelOrpModItems.dll) ............................................................................................... 10
Clean Data (Delete Orphan Model Items) ...................................................................................... 10
Display Tabs Conversion Utility ............................................................................................................ 12
Duplicate Item Tag Report Utility .......................................................................................................... 13
Item Tag Validation Utilities .................................................................................................................. 14
Local Model Item Lookup Table Utility .................................................................................................. 15
Repair Relationship Indicators Utility .................................................................................................... 15
Update Labels Utility ............................................................................................................................. 16
Updating Symbology ............................................................................................................................. 16
Use the Update Symbology Command .......................................................................................... 17
Update Line Styles Using the ApplySettingsCmd Macro ............................................................... 17
Fixing Orphaned Drawing Symbols ...................................................................................................... 17
Fix Orphaned Symbols Using the OrphanGraphics Macro ............................................................ 17
Fix Orphaned Symbols During Drawing Re-Creation .................................................................... 18
Smart PID Analyzer .............................................................................................................................. 19
Piping Specification Utility ..................................................................................................................... 21
Enter Required ProgIDs ................................................................................................................. 22
Configure Piping Specification Settings ......................................................................................... 23
Performing Service Limits Validation .............................................................................................. 25
Performing Commodity Code and Fabrication Category Look Up ................................................. 25
Update Zero Length Pipe Run Connectors Utility ................................................................................. 26
Find Invalid Break Labels Utility ............................................................................................................ 27
Service P&IDs Utility ............................................................................................................................. 28
Open the Service P&IDs Utility ....................................................................................................... 28

Log Files ..................................................................................................................................................... 31

Index ........................................................................................................................................................... 33

SmartPlant P&ID Utilities Guide 5


Contents

6 SmartPlant P&ID Utilities Guide


SECTION 1

SmartPlant P&ID Utilities


SmartPlant P&ID delivers several utilities to help you manage your data.

Check Item Paths Utility


The Check Item Paths utility (CheckFilePathCmd) checks the folder paths in the file names of all
active plant items and reports paths that do not point to the current catalog. This macro details
invalid paths in a log file named CheckFilePathsFor_YourPlant.log in the Temp folder.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click CheckFilePathCmd.dll.

Check Symbols Utility


The Check Symbols utility (CheckSymbolsCmd.dll) checks the specified plant catalog for
symbols with:
 Graphics other than: igArc2d, igBalloon, igBoundary2d, igBsplineCurve2d, igCircle2d,
igDimension, igEllipse2d, igEllipticalArc2d, igLeader, igLine2d, igLineString2d, igTextBox,
and igPoint2d
 ConnectPoints with an incomplete connect point attribute set.
 Duplicate Connect Point Keys.
 Incorrectly ordered (not sequential) Connect Point Keys.
 Piping / Signal / Ducting points (if the symbol is an OPC symbol).
 Property 'UsePhotographicStyleScale' = True (this value is not valid for symbols in
SmartPlant P&ID)
You should run this utility at least once on all plants. After running this initial check, run this utility
each time symbols are edited in Catalog Manager. Results are written to the log file named
CheckSymbolsFor_PlantName.log in the Temp folder.
This utility, delivered to the ..\SmartPlant\P&ID Workstation\bin folder, must be run
in the SPPIDAutomation.exe environment.

SmartPlant P&ID Utilities Guide 7


SmartPlant P&ID Utilities

Check Symbols in a Plant


1. Start Drawing Manager.
2. Click File > Open Database and select the plant containing the reference data that you
wish to check. Doing this sets the ActivePlant value for the utility.
3. Close Drawing Manager.
4. Start the SPP&ID Automation application by double-clicking SPPIDAutomation.exe in the
..\SmartPlant\P&ID Workstation\bin folder.
5. If the SPP&ID Automation application does not open a document by default, complete the
following steps before proceeding:
a. Click File > New.
b. Select Document in the Create new group.
c. Select Normal.spp from the list of templates.
d. Click OK to open a new document.
6. Click Tools > Custom Commands.
7. On the Custom Command dialog box, browse to ..\SmartPlant\P&ID Workstation\bin and
double-click CheckSymbolsCmd.dll.
8. Click OK or view the log file for detailed information.

8 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Sample Check Symbol Log File


The following sample log file contains five sets of detected errors. Below the graphic is a
suggested solution for each numbered error set.

Suggested Solutions
1. Delete symbol from existing drawings. Open the symbol in Catalog Manager, delete
rectangles, and draw the graphics as lines instead of a rectangle. Place updated symbol on
drawing.
2. Delete symbol from existing drawings. Open symbol in Catalog Manager, place a select set
around the graphics, select Ungroup from the Change toolbar. Place symbol on drawing.
3. Delete symbol from existing drawings. Open symbol in Catalog Manager, delete connect
points and add connect points. Place symbol on drawing.
4. Delete symbol from existing drawings. Open symbol in Catalog Manager, delete symbol and
re-create symbol. Place symbol on drawing.
5. Delete symbol from existing drawings. From Catalog Manager, delete connect points and
add Auxiliary points. Place symbol on drawing.

SmartPlant P&ID Utilities Guide 9


SmartPlant P&ID Utilities

Clean Data Utility (DelOrpModItems.dll)


The Clean Data utility (DelOrpModItems.dll) removes orphaned records that occur when
drawings are upgraded. This utility, sometimes called Delete Orphan Model Items, can be used
for the following tasks:
Database Report — Generates a report, written to the DBCleanup.txt file in your Temp folder,
that helps you decide if a manual cleanup alternative exists before using the Entire Database
command to delete the problems from the database.
Entire Database — Removes orphaned records from the plant database. Use this only after
running Database Report, examining the report, and manually cleaning up as many items in the
database as necessary.
Model Items — Finds and deletes any model item in the database that does not have a
corresponding entry in the T_Representation table. The utility works on an item type basis and
repairs the following model item types: Vessel, Mechanical, Exchanger, Equipment: Other,
Equipment Component, Instrument, Nozzle, Piping Component, Ducting Component, Pipe Run,
Signal Run, Duct Run, OPC, Item Note, Area Break, Room, and Room Component. Once the
orphan model items for an item type are found, you can select any or all of the items and choose
to delete them.
OPCs — Finds and repairs off-page connectors (OPCs) that have lost their associations with
the OPC with which they were originally paired. If one OPC has lost the identity of its mated
OPC, but the mated OPC still has the identity of the first OPC, then the OPC is considered
repairable. To repair the OPC, the utility updates the identity information for the first OPC.
However, if both the OPC and its mated OPC have lost the identities of each other, then the
OPCs are considered non-repairable, and you are given the option to delete them.
Gaps — Repairs and updates gaps in the representation record with the proper item type. On
rare occasions you will need to perform this operation if you have gapping problems in your
drawings.
We do not recommend using the Gaps command as part of your database constraint
cleanup. If you find it necessary to run Gaps, you must be careful not to select Yes to a symbol
that is not a gap. If you select Yes to any symbol other than a gap, you may corrupt your data
set.

Clean Data (Delete Orphan Model Items)


To avoid data corruption, complete the following steps in the sequence presented. The buttons
on the utility are arranged in the proper sequence.
You must perform the following steps in the order they are listed. The buttons on
the Clean Data dialog box are arranged in the appropriate order.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click DelOrpModItems.dll.
4. On the Clean Data dialog box, click Database Report. The results are written to the
DBCleanup.txt file in your Temp folder. This report helps you decide if a manual cleanup

10 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

alternative exists before using the Entire Database command to automatically delete the
problems from the database.

5. After any manual database clean up, click Entire Database to automatically delete the
problems from the database.
6. Click Model Items.

7. On the Delete Orphan Model Items dialog box, select each model item type from Item
Type Names list to see if any orphan items exist in the database.

8. In the List view, select the model orphan items to delete, and click Delete.
You can also click Delete All to select and delete all the items in the list view.
9. Click Close to return to the Clean Data dialog box.
10. On the Clean Data dialog box, click OPCs.

SmartPlant P&ID Utilities Guide 11


SmartPlant P&ID Utilities

11. On the Repair OPCs dialog box, chose either repairable or non-repairable from the OPC
Type list. Repairable OPC pairs retain one link out of two between the mates.
Non-repairable OPC pairs retain neither link.

12. Choose the OPC pair you are interested in from the OPC list, and click Fix if it is a
repairable pair or Delete if it is non-repairable.
13. Click Close to return to the Clean Data dialog box.
14. On the Clean Data dialog box, click Gaps to find and repair gaps that do not have the
correct representation in the database.
We do not recommend using the Gaps command as part of your database
constraint cleanup. If you find it necessary to run Gaps, you must be careful not to select
Yes to a symbol that is not a gap. If you select Yes to any symbol other than a gap, you may
corrupt your data set.
15. On the Clean Data dialog box, click Close to return to the design software.

 The Clean Data utility must be run from within the SmartPlant P&ID environment.
 For easy access to this utility, you can create a custom menu in the SmartPlant P&ID
interface to run the Clean Data utility. For information about how to do this, see the Create a
New Menu topic in the SmartPlant P&ID User's Guide.
 Log messages generated when orphaned records are deleted from the plant database are
written to the DBCleanup.txt file in the folder assigned to the TEMP environment variable.
 Log messages are placed in SPDelOrpModItems.log file in the folder assigned to the TEMP
environment variable. The log file contains information about deleted items including the
item type and SP_ID number.

Display Tabs Conversion Utility


Use the UpgradeTabsCMD.dll to convert display tabs (also called filter tabs) created in
previous SmartPlant P&ID versions to display sets.
1. In SmartPlant P&ID, open the drawing containing the display tabs that you want to convert.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click UpgradeTabsCMD.dll.

12 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

4. On the Apply Display Set dialog box, enter the name of the display set to which you want
the display tab filters written.

5. The new display set is added to the View > Apply Display Set > My Display Sets menu.

Duplicate Item Tag Report Utility


The Duplicate Item Tag Report utility (DuplicateTagReport.exe) helps you locate instruments,
piping components and equipment that have the same item tag. The utility creates a Microsoft
Excel spreadsheet in a temporary folder (usually C:\Temp) on your computer. The spreadsheet
is named PlantName-DuplicateTags.xls, where PlantName is the name of the active plant.
1. Double-click DuplicateTagReport.exe in the ..\SmartPlant\P&ID Workstation\bin folder.

2. Click Connect to Active Plant. The name of the active plant displays.

SmartPlant P&ID Utilities Guide 13


SmartPlant P&ID Utilities

3. Click Create Duplicate Item Tag Report.

4. Click to exit the utility.


5. Open the report spreadsheet from your Temp folder.

Item Tag Validation Utilities


An ItemTag.dll containing the new item tag validation source code for duplicate tag checking is
available for each of the following environments:
 ActivePlant — (Delivered in the Item Tag Validation folder) Contains the delivered item
tag validation code and the default ItemTag.dll with the scope set for validating item tag
uniqueness in the current plant only.
 ActiveProjectAgainstAs-Built — Contains the delivered item tag validation code and the
ItemTag.dll with the scope set for validating item tag uniqueness in the As-Built and the
current project.
 ActiveProjectAgainstAs-BuiltAndProjects — Contains the delivered item tag validation
code and the ItemTag.dll with the scope set for validating item tag uniqueness in the As-Built
and all of its projects.
These .dll files are delivered to the Programmer's Guide\Sample Source Code\Item Tag
Validation folder on the SmartPlant P&ID product CD. These files are not installed on your
computer during setup.

To use these files, you must rename the ItemTag.dll file installed on your computer (for
example, rename the file to DeliveredItemTag.dll), then copy from one of the product CD
sub-folders (ActiveProjectAgainstAs-Built or ActiveProjectAgainstAs-BuiltAndProjects)

14 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

the ItemTag.dll flavor that you want to use. Place this copy in the same location as the installed
ItemTag.dll that you just renamed. When you are finished, remove the ItemTag.dll copy, then
rename the delivered copy back to its original name.

Local Model Item Lookup Table Utility


Use the LocalModelItemLookupTable.sql utility if your connected Workshare satellite
experiences performance problems when transferring piping data from SmartPlant P&ID to
PDS. This script converts a satellite database view (namely, the T_ModelItemLookup) that
references a host table into a local table, allowing the data transfer to proceed without using a
database link.
SmartPlant P&ID uses the database link to fetch unique Long IDs from the Host when running
from a connected Workshare satellite. If the performance of opening the PID file in PDS is an
issue or if maintaining the correlation between SmartPlant P&ID and PDS after the merge is not
an issue, then you can run this script to change the lookup for the Long ID from a view to the
host to a local query.
This utility is delivered as an SQL script to the ..\SmartPlant\P&ID Workstation\bin folder and
can be executed using any Oracle user interface, such as SQLPlus.
Do not use this script if the transferred PDS data will be merged back into a host
PDS database because the Long IDs will not be unique at the host.
For more information about transferring piping data, see the SmartPlant P&ID to PDS Piping
Data Transfer Configuration and Reference Guide.
For more information about Workshare and database links, see the Workshare Configuration
and Reference Guide.

Repair Relationship Indicators Utility


The Repair Relationship Indicators utility (RepairRelIndCmd.dll) processes all graphic
connections on the active drawing and verifies all relationship indicators in the graphic file and in
the database. If any relationship indicator errors are found, they are reported. You can then use
this utility to automatically repair any of the reported errors. This utility must be run on a drawing
by drawing basis.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click RepairRelIndCmd.dll.
4. Click Open to start the utility.

SmartPlant P&ID Utilities Guide 15


SmartPlant P&ID Utilities

5. Select the Report option and click OK to evaluate relationship indicators and generate the
RnR-RelIndicators.log report in the Temp folder. Review the report to see any relationship
indicator errors existing in the drawing.
6. If any errors exist, select the Repair & Report option and click OK to repair relationship
indicators and to generate an activity report, RnR-RelIndicators.log, in the Temp folder.
Review the report to see how each relationship indicator error was resolved.
7. Close and reopen the drawing after running this utility and before making any further
modifications to the drawing.
This utility must be run on a per drawing basis. It cannot be run on an entire plant.

Update Labels Utility


The Update Labels utility updates item labels in drawings where the properties of the items were
changed using automation. Without this utility, the labels on these items are not updated with
the new information, and they display the old values in the drawing.
Do the following to update labels in a drawing:
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click UpdateLabelsCmd.dll.
This utility will not update the label with modifications made in Catalog Manager. If
modifications were made to the label in Catalog Manager, each instance of the label must be
replaced in the drawings. Use the Edit > Replace command to find and correct these instances.

Updating Symbology
You can force the software to redraw the graphic representation of your data, the drawing, by
using the Update Symbology command in SmartPlant P&ID. This command refreshes the
graphic symbology (that is, line weight and color) of symbols in your drawing based on the
current settings in Options Manager. The ApplySettingsCmd macro (delivered to the
..\SmartPlant\P&ID Workstation\bin folder) also updates the line settings, Minimum Connector
Segment, and Routing Self-Avoidance.
The symbology and other settings defined in Options Manager usually take effect only in those
drawings created after those values are defined. Updating Options Manager settings enables
you to force changes in your symbology definitions to be reflected in the current drawing,
regardless of when it was created.

16 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Use the Update Symbology Command


1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Update Symbology.

Update Line Styles Using the ApplySettingsCmd Macro


1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click ApplySettingsCmd.dll.

 Any user can update drawings using these commands. However, check your permissions,
which are assigned in SmartPlant Engineering Manager, to find out if you can make changes
to the plant-wide symbology in Options Manager.
 Once you load the current plant-wide symbology definitions into your drawing, you cannot
revert to previous definitions. However, you can always override plant-wide symbology
choices in your drawing by using drawing filters and choosing alternate symbology for items.
 In Options Manager, two settings, Minimum Connector Segment and Routing
Self-Avoidance, control the behavior of pipe and signal runs when they are placed in a
drawing or when an inline component is placed on a run. You can change these settings in
Options Manager, but the new values affect only lines placed after the change. The
ApplySettingsCmd.dll macro applies the latest settings to all runs on the current drawing.
You must run this macro for every drawing individually.

Fixing Orphaned Drawing Symbols


In a drawing, if you select a symbol that is missing from the database, no properties appear in
the Properties window. When such a symbol is identified and highlighted in a drawing, it is said
to be band-aided. It is not possible simply to delete orphaned symbols from a drawing; therefore
the following procedures describe how they can be highlighted and removed.

Fix Orphaned Symbols Using the OrphanGraphics Macro


This option applies to orphaned symbols in a drawing that is not in a re-create state.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click OrphanGraphics.dll.
As an alternative to using this command, you can band aid symbols in a drawing using
a custom validation with the BeforeDocumentClose event.
4. Close and then re-open the drawing.
The orphaned symbols are now band-aided in the drawing.

SmartPlant P&ID Utilities Guide 17


SmartPlant P&ID Utilities

5. Create a new version of the drawing.


6. Open the drawing.
7. Force a re-creation of the drawing.
8. Display the SmartPlantPID.log file.
The log file reports on orphaned symbols by means of statements similar to the following:
OrphanGraphics has detected a problem: PipeRun with SP_ID =
FF038B6467F8429588B86A2FE38F5667 is missing from the database (A04501)
and has been band aided.
Using custom validation, you can specify whether the software only reports on
missing symbols in the SmartPlantPID.log file or whether they are reported on and
band-aided. Two functions exist for handling orphan graphics by means of validation:
 ReportOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are
missing from the database.
 BandAidOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are
missing from the database and have been band-aided.
9. In order to view the symbols that were band-aided and fixed, do the following:
a. Open the Version History for the drawing.
b. Compare the current drawing with the version you created.

Fix Orphaned Symbols During Drawing Re-Creation


1. Open the drawing.
2. When prompted to re-create the drawing, click Cancel.
The software does not re-create the drawing; however symbols missing in the database are
reported in the SmartPlantPID.log file.
3. Open the drawing by means of Automation.
Using Automation to open the drawing ensures that the symbols are band-aided.
Normal opening of the drawing would re-create it and remove the orphaned symbols.
4. Open the drawing manually.
5. When prompted to re-create the drawing, click OK.
The band-aided symbols are initially displayed and then removed from the drawing.
6. Display the SmartPlantPID.log file.
The log file reports on orphaned symbols by means of statements similar to the following:
OrphanGraphics has detected a problem: PipeRun with SP_ID =
FF038B6467F8429588B86A2FE38F5667 is missing from the database (A04501).
Using custom validation, you can specify whether the software only reports on orphaned
symbols in the SmartPlantPID.log file or whether they are reported on and band-aided. Two
functions exist for handling orphan graphics by means of validation:
 ReportOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are missing
from the database.

18 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

 BandAidOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are


missing from the database and have been band-aided.

Smart PID Analyzer


The Smart PID Analyzer provides optional checking to make users aware of various problems
that can arise when the contents of a drawing are not in harmony with the database. When
enabled, a macro, SmartPIDAnalyzer, which is built in to the SmartPlant P&ID modeler, runs
when a user opens or closes a drawing. The macro generates a report that informs the user of
any problems found in the categories that were selected for checking.
To configure the system for checking:
1. Open Windows Registry.
2. Under HKEY_LOCAL_MACHINE, create the following registry key:
SOFTWARE\Intergraph\Applications\SmartPlantPID.Application\AnalyzerO
ptions
For a Windows 7 operating system, the registry key path is:
SOFTWARE\Wow6432Node\Intergraph\Applications\SmartPlantPID.Applicati
on\AnalyzerOptions
3. Set the value of AnalyzerOptions as follows to check one of the following categories:
 Unnamed linear patterns in graphics = 1
 Cross checking of RAD object and database object relationships = 2
 Bad connectors = 4

SmartPlant P&ID Utilities Guide 19


SmartPlant P&ID Utilities

To disable checking, set the value to 0; to check all the categories, set the value to 7
(1+2+4). For a combination of checks, set the value of AnalyzerOptions to the bit sum of
the individual categories, for example, to check unnamed linear patterns and bad
connectors, the value of AnalyzerOptions should be set to 5 (1+4), as shown in the
example.

On opening the drawing, if a problem was found under one or more selected categories, the
following message appears:

4. Click Yes to open the SmartpidAnalyzer.log file, which is located in the user’s Temp folder.
The log file is overwritten each time a drawing with an identified problem is opened.

20 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Piping Specification Utility


The Piping Specification Utility (PipeSpec) works with PDS 3D, SmartPlant 3D, or SmartPlant
Reference Data to validate the piping materials class with the temperatures, pressures, and
diameters assigned to the pipe run and to search commodity codes (in all product databases)
and fabrication categories (in PDS 3D databases only) for inline piping components. The
database tables and library files in the products provide source information for the validation and
search. The service limits validation and automatic commodity code look-up can be disabled
simultaneously using a switch in Options Manager. For more information about modifying the
PipeSpec settings, see the Options Manager User's Guide topic Configure Piping Specification
Settings. For more information about using the Piping Specification Utility with SmartPlant 3D,
refer to the SmartPlant P&ID Installation and Upgrade Guide for details about installing
SmartPlant 3D Piping Specification Remote Access Client.
In Data Dictionary Manager, the ValidateNomDiam.ForeignCalc program ID, which is assigned
to the Nominal Diameter property, starts the Piping Specification Utility and triggers the
commodity code and fabrication category look-ups when a nominal diameter is changed. For
more information about assigning calculation and validation IDs, see the SmartPlant P&ID
Utilities Guide topic, Enter Required ProgIDs (on page 22).

PDS 3D Files Used for PipeSpec


 pd schema — pdtable_102 table
 ra schema — pdtable_201 and pdtable_202 tables
 library files — us_pjstb.l, us_pjstb.l.r, and us_pjstb.l.t (The library file locations are listed in
pdtable_102.)
 .dll files — PipeSpec.dll, pdpjs.dll, pdpjsx.dll, and ValidateServiceLimits.dll
The Piping Specification utility allows separate logon for the ra and pd schemas in the PDS 3D
database.

 To use the Piping Specification Utility with SmartPlant 3D, you must install the SmartPlant
3D Piping Specification Remote Access Client, which is available on the SmartPlant P&ID
product CD under Prerequisite Software.
 All of the displayed text strings are maintained as Visual Basic resources in the
PipeSpec.dll file. These strings can be translated or modified as required using a resource
file editor.
 When performing piping materials class validations, commodity code lookup, or validation of
nominal diameter for SmartPlant 3D or SmartPlant Reference Data, the Piping Specification
Utility assigns the highest revision number from the SmartPlant 3D or SmartPlant Reference
Data piping materials class to the Pipe Spec Revision property.
 Error messages are placed in the PipeSpecError.log file in the folder assigned to the TEMP
environment variable. Error messages help you identify the cause of failure when the utility
does not complete the tasks as expected. For example, if minimum requirements are not
met for the look-up, the missing properties are listed in the log file.
 The ServiceLimits.log file contains any errors encountered during the Service Limit
Validation process, which runs as part of the Piping Specification Utility.

SmartPlant P&ID Utilities Guide 21


SmartPlant P&ID Utilities

Enter Required ProgIDs


1. Click Start > SPEM > Data Dictionary Manager.
2. Click the Database Tables button.
3. Click each database table listed in the following table.

Database Table Property Calculation ID Validation ID

Case Pressure PipeSpec.Commodity


Process CodeValidator

Case Temperature PipeSpec.Commodity


Process CodeValidator

Inline NominalDiameter ValidateNomDiam.For


Component eignCalc

Inline CommodityCode PipeSpec.Commodity


Component CodeValidator

Pipe Run PipingMaterialsClass PipeSpec.PMCFinder PipeSpec.Commodity


CodeValidator

*Pipe Run NominalDiameter PipeSpec.NPDFinder ValidateNomDiam.For


eignCalc

*Pipe Run SP_PipeSpecRevision PipeSpec.Commodity


CodeValidator

*Piping OptionCode PipeSpec.OptionCode PipeSpec.Commodity


Component Finder CodeValidator

The Calculation IDs for the Nominal Diameter and SP_PipeSpecRevision


properties in the Pipe Run table and the Option Code property in the Piping Component
table (items marked with an (*) asterisk) are available only when the pipe specification
source is SmartPlant 3D or SmartPlant Reference Data. These validations are not
available when the piping specification source is PDS 3D.

22 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

4. Double-click each property to display the Modify Property dialog box (see example below).

5. Type the necessary information in the given fields as shown in the above table; then click
OK to save and close.
6. Repeat the steps 3 - 5 above to update each database table.

Configure Piping Specification Settings


1. In SmartPlant P&ID Options Manager, click Settings.
2. To enable continuous service limit validation and automatic commodity code lookup, do the
following:
a. In the Enable piping specification validation field, select Yes.
b. In the Use piping specification field, select the PDS3D, SmartPlant 3D, or
SmartPlant Reference Data option, depending on the type of 3D database to which
you are connected.
c. Enable the Calc buttons for the Piping Materials Class and Commodity Code
properties by assigning Calculation IDs in Data Dictionary Manager. For details, see
the SmartPlant P&ID Utilities Guide topic, Enter Required ProgIDs (on page 22).

 If the Use piping specification setting is PDS3D, SmartPlant 3D, or SmartPlant


Reference Data and the Enable piping specification validation setting is No,
continuous service limits validation and automatic commodity code lookup are not
available. However, the user can still manually select the Calc buttons to activate
the Commodity Code Lookup dialog box or the Piping Materials Class selection
dialog box.
 If the Use piping specification setting is No, continuous service limits validation and
automatic commodity code lookup are not available. Also, the Calc buttons for the
Piping Materials Class and Commodity Code properties are not functional.
 The Short Value entries in the Piping Component Type select list in Data Dictionary
Manager are populated from the contents of the
PDS3D_SP3D_ShortCode_Correlation.txt file (located in the ..\SmartPlant\P&ID
Workstation\bin folder) according to the Use Piping Specification setting as follows:

SmartPlant P&ID Utilities Guide 23


SmartPlant P&ID Utilities

 PDS3D — The Short Value column is populated with data from the second column
of the PDS3D_SP3D_ShortCode_Correlation.txt file (AABBCC code).
 SmartPlant 3D or SmartPlant Reference Data — The Short Value column is
populated with data from the third column of the
PDS3D_SP3D_ShortCode_Correlation.txt file.
 No — The data in the Short Value column is not updated and remains what it was
previously.
 When changing the Use piping specification setting from No to PDS3D, SmartPlant
3D, or SmartPlant Reference Data, validation occurs only for items modified after the
change.
3. Do one of the following:
 If connecting to a SmartPlant 3D database, fill in the database information in the
SmartPlant 3D Plant Name and SmartPlant 3D Server Name fields, and then skip the
rest of this procedure.
 If connecting to a SmartPlant Reference Data database, fill in the database information
in the SmartPlant Reference Data Plant Name and SmartPlant Reference Data
Server Name fields, and then skip the rest of this procedure.
The SmartPlant Reference Data server name must be entered as a connection
string in the form of <Host Name>:<TCP/IP Port Number>/<Service Name>, for
example:
IN-SPMATDBSRV:1521/SDB2012
 If connecting to a PDS 3D database, proceed with the remaining steps of this
procedure.
4. Select the database type from the PDS Database Type list. Supported database types are
MSSQL and Oracle.
5. Type the database name in the PDS Database Name field.
The database name is not required for Oracle databases. The default value of a blank
space, not a null, must be assigned for Oracle databases.
6. Type a value in the PDS Database Server/Alias field.
This entry defines the server name for a Microsoft SQL Server database or the Alias
name on the client machine for an Oracle database.
7. Type the user name and password of the ra schema of a PDS 3D project under PDS
Approved Reference Database Schema Name and PDS Approved Reference Database
Schema Password respectively.
8. Type the user name and password of the pd schema of a PDS 3D project under PDS
Project Control Database Schema Name and PDS Project Control Database Schema
Password respectively.
9. In the Max-Temperature Unit in PDS3D list, select the unit of measurement used in PDS
3D for the maximum temperature limit for piping components.

24 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Performing Service Limits Validation


The Piping Specification Utility verifies that the temperatures and pressures assigned to a pipe
run comply with the service limits associated with the selected Piping Materials Class. In
continuous validation mode, which is activated by assigned settings in Options Manager, this
verification occurs each time you modify either the Piping Materials Class or a
temperature-pressure pair in the process case data of the pipe run. The Service Limits validation
requires at least one complete temperature-pressure pair from among design, alternate design,
operating, and alternate operating cases. If any temperature-pressure pair violates the service
limits of the selected Piping Materials Class, a warning displays the appropriate pair. This
warning appears in the design software by appending an error string ('SERVICE LIMITS
ERROR') to the name of the Piping Materials Class.
In SmartPlant 3D, for a particular temperature-pressure pair, the service limits may also
specify an accepted range of nominal diameters for the pipe run. In such cases, if the nominal
diameter lies outside this range or if no value is specified for the nominal diameter, the warning
also displays.

Performing Commodity Code and Fabrication Category Look


Up
The Piping Specification Utility (PipeSpec) looks up the Commodity Code property (in all
product databases) and the Fabrication Category property (in PDS 3D databases only) of
inline piping components. In the continuous validation mode, this look-up occurs each time the
Piping Materials Class or any of the case temperatures: Design Max Temp, Design Min
Temp, Operating Max Temp, or Operating Min Temp are modified on the pipe run (for
SmartPlant Reference Data, only changes in the Piping Materials Class or Design Max Temp
initiate the look-up). Validation also occurs each time the Option Code or Nominal Diameter
of the component is modified. If the modification occurs on a property of a piping component,
then the look-up is restricted to that particular component, but if the modification occurs on a
property of a pipe run, then the look-up encompasses every piping component on that run.
The minimum requirements to cause a look-up are that the piping components must be in a pipe
run and that the PMC and the nominal diameter of the pipe run must be specified. If
temperatures do not comply with the service limits, then the Commodity Code property
displays an error message.
The Piping Specification Utility uses process case temperatures of the run during the commodity
code look-up only if the code for the component has a maximum temperature limit value in the
3D or SmartPlant Reference Data database. For example, in PDS 3D, a value of -9999 for
maximum temperature in pdtable_202 indicates a null value and the process case temperatures
on that pipe run are ignored for the look-up. If a maximum temperature limit exists for a
component, then the look-up ensures that none of the relevant process case temperatures
assigned in SmartPlant P&ID to the pipe run in which the piping component resides exceed this
limit.

 The units for the PDS 3D maximum temperature are those specified in Options Manager.
 If continuous validation is turned on for the PipeSpec utility, then a pipe run with
temperature-pressure limits that do not agree with its PMC generates Error in PMC in the
commodity code for an inline component.

SmartPlant P&ID Utilities Guide 25


SmartPlant P&ID Utilities

 If any temperature values for the pipe run are unspecified, then for SmartPlant Reference
Data or PDS 3D, a value of zero Deg-K is assumed for each of the unspecified
temperatures. For SmartPlant 3D, an unspecified temperature is interpreted as 'undefined'.
 SmartPlant 3D can validate commodity codes using the four case temperatures listed earlier
against Maximum Temperature ranges or Minimum Temperatures specified on piping
components in the SmartPlant 3D database.
 SmartPlant Reference Data can validate commodity codes using the pipe run’s Design Max
Temp against Maximum Temperatures specified on piping components in the SmartPlant
Reference Data database. Other case maximum temperatures or minimum temperatures will
not be used in the validation.
 If the temperature falls within the allowable limits, the software will return a commodity code;
otherwise, Not in Spec is returned.
 SmartPlant Reference Data supports a single maximum temperature only for each option code.
 SmartPlant Reference Data does not return a commodity code for reducers.
 The Fabrication Category property of inline piping components is a select-listed property in
SmartPlant P&ID. A relationship between the fabrication category and the commodity name
can be defined in the PDS 3D database. The Commodity Name is a unique name for
every symbol. In PDS 3D, this unique name is the AABBCC Code property. In SmartPlant
P&ID, the commodity name corresponds to the Short Value entry of the Piping Component
Type select list for the symbol defined in Data Dictionary Manager and it is this value of the
commodity name that is used for the look-up. For a delivered SmartPlant symbol, the Short
Value entry is equivalent to the symbol's AABBCC Code, defined in Catalog Manager.
 Similarly, the Option Code property is a select list of text values in SmartPlant P&ID, while it
is a set of code numbers or indices in SmartPlant 3D. Short Value for the Option Code
select list contains the SmartPlant 3D indices corresponding to the appropriate Option Code
text in SmartPlant P&ID. The Piping Specification Utility uses the entries in the Short Value
box of the Option Code list to obtain the Option Code used in the SmartPlant 3D database
tables.

Update Zero Length Pipe Run Connectors Utility


This utility updates the property sp_connectorszerolength, which was added to the t_piperun
table in Version 2007. This property is used to indicate a zero length pipe run when placing
adjacent inline items such as a reducer and a valve. If you upgraded from an earlier version
and have already run the SmartPlant Engineering Manager Upgrade Utility, this property is
updated automatically and you should not need to perform any further action. However, if you
did not perform the upgrade, or if you encounter problems with filtering or publishing zero length
pipe runs, you can update the property independently by performing the procedure below. This
utility finds all zero length pipe runs and assigns a value of True to this property for those pipe
runs. After running the utility, you can filter out zero length pipe runs for viewing in the EDE and
reports, and you can also exclude them from published data.
Do the following to update the sp_connectorszerolength property.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click UpdtPiperunConnZeroLen.dll.

26 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Find Invalid Break Labels Utility


The Find Invalid Break Labels Utility (FindInvalidBreakLabelsCmd.dll) identifies illegal break
labels in a plant that has been upgraded from a version of SmartPlant P&ID earlier than 2014.
The utility identifies all break labels that have been placed at a location where there is no break
in the pipe run. Two options are available: the utility can be run on the current drawing or on all
drawings in the plant. When run on the current drawing, the utility band aids all invalid break
labels in the drawing and generates a log with the number of items that were band-aided in the
drawing. When run for the entire plant, the utility generates a log with a list of the drawings in
which invalid break labels were found and the number of invalid break labels in each drawing
(drawings that do not have any invalid break labels are not listed). The log file is named
InvalidBreaklLabels.log and is created in the default Temp folder. If the log file already exists, it
is appended with any new information.
After running the utility on an individual drawing, you can repair invalid break labels by creating
property breaks in the pipe runs where labels are located or you can delete the labels if not
needed. Fixing an invalid break label by creating a property break does not remove the
band-aiding. To fix the band-aiding for an invalid break label, break the pipe run, delete the bad
label, and place a new break label on the pipe run break. Alternatively, if the break is
redundant, just delete the bad label.
If any assemblies with break labels were created prior to upgrade, we recommend
checking these assemblies for invalid break labels. To do this, create a new drawing, place the
desired assemblies in the drawing, and then run the FindInvalidBreakLabelsCmd command on
the current drawing. After upgrade it is also recommended to run this command on a drawing
before creating any new assemblies from that drawing that include break labels.
1. Open a drawing in SmartPlant P&ID.
2. Click Tools > Custom Commands.
3. On the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click FindInvalidBreakLabelsCmd.dll.
4. On the Find Invalid Break Labels dialog box, select one of the following options:
 Current drawing — Band aids invalid break labels in the current drawing and
generates a log.
 Entire plant — Searches in all drawings in the plant, including the current drawing and
generates a log of all drawings with invalid break labels. With this option, any invalid
break labels that exist in the current drawing are not band-aided.
During the search operation, it is not possible to perform any other activities in
SmartPlant P&ID. On completion of the search, a message displays indicating that the search
is complete and allows you to view the log file if desired.

SmartPlant P&ID Utilities Guide 27


SmartPlant P&ID Utilities

Service P&IDs Utility


The Service P&IDs utility (servicepidsexe.exe) processes all graphic connections on all the
selected drawings of the active plant and reports on all relationship indicators in the graphic file
and in the database. The utility can also repair broken relationship indicators. During processing,
the Service P&IDs utility displays the status of the drawing being processed and writes details of
the results to a log file.
The Service P&IDs utility processes drawings in the active plant only. To process a
different plant, you must close the Service P&IDs utility and change the active plant in
SmartPlant P&ID.

Open the Service P&IDs Utility


1. In Windows Explorer, browse to the ..\SmartPlant P&ID Workstation\bin folder and
double-click servicepidsexe.exe.
The Service P&IDs utility can also be run from within a drawing, but open drawings
(or drawings in a recreate state) cannot be repaired. To run the Service P&IDs utility from
within an open drawing in SmartPlant P&ID, click Tools > Custom Commands and then,
on the Custom Command dialog box, browse to ..\SmartPlant P&ID Workstation\bin and
double-click servicepidsexe.exe.
2. On the Service Pids dialog box, click Show Drawings to display a list of all the drawings
associated with the active plant.

3. Select the check boxes beside the drawings that you want to process.

28 SmartPlant P&ID Utilities Guide


SmartPlant P&ID Utilities

Click Select All to select all the drawings of the active plant.

4. Do one of the following:


 Click Repair & Report to start the reporting process and address problems found.
 Click Report to start the reporting process.

 The Report command only reports problems. Problems are addressed by running the
Repair & Report command or opening the drawing and running the Repair Relationship
Indicators utility (RepairRelIndCmd.dll).
 The Status column of the Service Pids dialog box shows the current status of each
drawing as follows:

 The status indicates that the drawing is being processed.


 The status indicates that the drawing was processed successfully.

SmartPlant P&ID Utilities Guide 29


SmartPlant P&ID Utilities

 The status indicates that the drawing is either open or in a recreate state.

5. Click View Logfile to view the results of the reporting or repair process. The log file can be
saved as a text file and printed.
6. Click Close to close the utility.

30 SmartPlant P&ID Utilities Guide


SECTION 2

Log Files
The following table lists the most common log files generated by SmartPlant P&ID.

Name Location Related Functionality

AssemblyFileName_CreAsm.log Temp folder Assembly creation

AssemblyFileName_PlaAsm.log Temp folder Assembly placement

Archive.log Archive file path Recovery


Retrieve.log defined in Options
Manager

BuildDB.log Generated when the Site


and Plant databases are
created in Oracle

CheckFilePathsFor_PlantName.log Temp folder Generated by the


CheckFilePathsCmd.dll
utility

CheckSymbolsFor_PlantName.log Temp folder Generated by the


CheckSymbolsCmd.dll utility

DBCleanup.txt Temp folder Orphaned records deleted


from the plant database
using the Delete Orphan
Model Item Utility are written
to this file.

GetSmart.log Temp folder Migrating a SmartSketch


P&ID into SmartPlant P&ID

InvalidBreakLabels.log Temp folder Find Invalid Break Labels


Utility

PIDAutomation.log Temp folder Using the PIDAutomation


type library (PIDAuto.dll)

PipeSpecError.log Temp folder Piping Specification Utility

Publish.log Temp folder PlantName is the name of


PlantName.log the plant in which the Get
Latest Version was invoked.

SmartPlant P&ID Utilities Guide 31


Log Files

Name Location Related Functionality

RADApplication.log Desktop Generated when you run


SmartPlant Engineering
Manager

Recreate-DrawingName.log Temp folder Re-creating drawings

RnR-RelIndicators.log Temp folder Repair Relationship


Indicators Utility

SmartPlantCatalogManager.log Desktop Generated when you run


Catalog Manager

SmartPlantPID.log Temp folder Overall system log file

SpaBackups.log Temp folder Created when you back up a


site and/or plant for the first
time. Information from
subsequent backups is
appended to this file.

SyncSharedItems.log Temp folder Indicates status of


synchronized shared items
(off-page connectors, plant
item groups) that cross
Workshare site boundaries.

SPDelOrpModItems.log Temp folder Delete Orphan Model Item


Utility

ServiceLimits.log Temp folder Piping Specification Utility

SymbolSource.log Temp folder Change Symbol Source

UpgradeV4_plant name.log Plant path Upgrade Utility

V4RefDataUpgrade.log Catalog Explorer root Upgrade Reference Data


path (Options Manager)

V4UpgradePIDs.log Temp folder Upgrade P&IDs (Drawing


Manager)

Various Workshare-related log files Archive file path Generated during


defined in Options Workshare activities
Manager

32 SmartPlant P&ID Utilities Guide


Index

C S
Check Item Paths Utility • 7 Sample Check Symbol Log File • 9
Check Symbols in a Plant • 8 Service P&IDs Utility • 28
Check Symbols Utility • 7 Smart PID Analyzer • 19
Clean Data (Delete Orphan Model Items) • SmartPlant P&ID Utilities • 7
10
Clean Data Utility (DelOrpModItems.dll) • 10 U
Configure Piping Specification Settings • 23
Update Labels Utility • 16
Update Line Styles Using the
D ApplySettingsCmd Macro • 17
Display Tabs Conversion Utility • 12 Update Zero Length Pipe Run Connectors
Duplicate Item Tag Report Utility • 13 Utility • 26
Updating Symbology • 16
E Use the Update Symbology Command • 17
Enter Required ProgIDs • 22

F
Find Invalid Break Labels Utility • 27
Fix Orphaned Symbols During Drawing
Re-Creation • 18
Fix Orphaned Symbols Using the
OrphanGraphics Macro • 17
Fixing Orphaned Drawing Symbols • 17

I
Item Tag Validation Utilities • 14

L
Local Model Item Lookup Table Utility • 15
Log Files • 31

O
Open the Service P&IDs Utility • 28

P
Performing Commodity Code and
Fabrication Category Look Up • 25
Performing Service Limits Validation • 25
Piping Specification Utility • 21

R
Repair Relationship Indicators Utility • 15

SmartPlant P&ID Utilities Guide 33

You might also like