TSMP3002 - Smart 3D Equipment Reference Data Labs
TSMP3002 - Smart 3D Equipment Reference Data Labs
TSMP3002 - Smart 3D Equipment Reference Data Labs
Student Workbook
Terms of Use
Use of this software product is subject to the End User License Agreement and Limited Product Warranty ("EULA") delivered with this 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. 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.
Trademarks
Intergraph, the Intergraph logo, PDS, SmartPlant, SmartMarine, FrameWorks, I-Convert, I-Export, I-Sketch, IntelliShip, INtools, ISOGEN,
MARIAN, 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.
Table of Contents
Table of Contents
Preface ...............................................................................................................................4
Preface
This document is designed as an aid for students attending the SmartPlant 3D Reference Data
class presented by Intergraph Corporation, and it’s a supplement to the standard product
documentation.
Objective
Course description
Objective
After completing this lab, you will be able to:
1. Start the Project Management application. Click on Start-> Programs -> Intergraph
SmartPlant 3D-> Project Management to run the application.
2. Go to the main menu and select Database -> New -> Catalog to open the New Catalog
dialog
3. In the Catalog Database Server box, select the name of the server where the Catalog
Database and schema will be created.
5. Under Template options, Check “Create an empty catalog” option and make sure the template
file to be used to create the catalog schema is the Application Repository database delivered
in the product. Select AppRepos.dat for SQL Server or Select APPREPOS.DMP for Oracle.
6. Under “Paths for catalog database files” area, type the symbol share location.
7. Click OK button.
Objective
Module Hierarchy
In this lab, you will add two new module classes called TransformerType1 and PipeRackType1
into the Module Type catalog hierarchy. To create the classification folders as shown below, you
must edit the ModuleType Excel workbook, which contain three sheets that control the hierarchy:
ClassNodeType, R-Hierarchy, and R-ClassNodeDescribes. When you add a module class to
the catalog hierarchy, you must update these sheets, where necessary, in order to see the data in
the Catalog task or Catalog browser dialog box.
CatalogRoot is the RootNode of the ReferenceData Catalog Browser. It cannot have a parent
node. It is a named-object. Similarly, RefDataModulesRoot is the root for the module hierarchy
which appears as a child of the CatalogRoot. Electrical, Transfomers, Structure and PipeRacks
are the nodes to facilitate the easy browsing. TransformerType1 and PipeRackType1 are the
Module Classes.
2. Go the ClassNodeType sheet and add the following entries. Remember to add the letter A to
all new records.
Note: This sheet describes the nodes used to navigate the CatalogBrowser hierarchy.
ObjectName should be unique across the entire database to identify a node uniquely.
Name is the displayed name which appears in the CatalogBrowser hierarchy.
3. Go the R-Hierarchy sheet and add the following entries. Remember to add the letter A to all
new records.
4. Go the R-ClassNodeDescribes sheet and add the following entry. Remember to add the letter
A to all new records.
Note: Make sure you do not add any blank space or special characters for the name.
9. Save the changes to a new workbook called ModuleTypes1.xls. Remember to add the letter A
to all new records.
10. Select Start -> All Programs -> Intergraph SmartPlant -> Database Tools -> Bulkload
Reference Data to run the Bulkload Utility.
11. Select the ModuleTypes1.xls Excel file under Excel files using the Add button.
12. Under Bulkload Mode options, select the A/M/D bulkload mode and uncheck “Update
Object Type Hierarchy and Catalog Views” option.
Note: “Update Object Type Hierarchy and Catalog Views” option is provided that will allow
the catalog administrator to choose when the Business Object Classification Hierarchy (BOC)
and catalog views are updated.
13. Under Catalog information area, select the server name and select the training catalog
databases. Last, define the path for the error log file and key in the symbol share location.
15. Once the process is complete, go to the Common Task and run the Copy to Catalog command
to check the results.
Note: The following steps should be performed if you skipped the Business Object
Classification Hierarchy (BOC) and catalog views update.
16. Open a session and go to the catalog task. Select the Catalog -> Generate Views option. The
system will display a message dialog. Select Yes button to continue.
Note: The following needs to be performed on a production catalog to ensure that the data set
is correct and consistent.
17. Run the Project Management Task. Select the Model in the hierarchy.
21. Once the process is complete. Right click on the model and select regenerate the report
database.
Equipment Hierarchy
All the nodes (Classification folders) are ClassNodeType objects except for the leaf nodes which
are Smart Classes. A relation between two nodes can be created in the 'R-Hierarchy' worksheet.
A relation between a ClassNodeType object and a Smart Class can also be created in the 'R-
Hierarchy' worksheet.
In this lab, you will add a new smart class called Boiler Type1 into the equipment catalog
hierarchy. To create the classification folders as shown below, you must edit the Equipment
Excel workbook, which contain two sheets that control the hierarchy: ClassNodeType and R-
Hierarchy. When you add a smart class to the catalog hierarchy, you must update these sheets,
where necessary, in order to see the data in the Catalog task or Catalog browser dialog box.
CatalogRoot is the RootNode of the ReferenceData Catalog Browser. It cannot have a parent
node. It is a named-object. Similarly, Equipment is the root for the equipment hierarchy which
appears as a child of the CatalogRoot. Process (Customer) and Boilers Asm are the nodes to
facilitate the easy browsing. Boiler Type1 is the Smart Class.
1. Open the Equipment.xls Excel workbook. The Equipment.xls can be found at C:\Program
Files (x86)\Smart3D\CatalogData\BulkLoad\DataFiles
2. Go the ClassNodeType sheet and add the following entries. Remember to add the letter A to
all new records.
Note: This sheet describes the nodes used to navigate the CatalogBrowser hierarchy.
ObjectName should be unique across the entire database to identify a node uniquely.
3. Go the R-Hierarchy sheet and add the following entries. Remember to add the letter A to all
new records.
Note: Make sure you do not add any blank space or special characters for the name.
Note: The UserClassName is also known as a definition class name. You can use this field to
provide a more meaningful name for the class or a name with blank spaces in it. This name
appears in the Catalog task and Catalog browser dialog box. The OccClassName appears in
the business object hierarchy on the Object Type tab on the Filter Properties dialog boxes.
7. For the parts, rename the name and description for both parts as follows:
Start
a BoilerType1 001A-E BoilerType1
a BoilerType1 001A_IMP-E BoilerType1
Also change the SymbolDefinition and Definition fields to use the Visual Basic symbol:
SymbolDefinition Definition
SP3DStorageTankAsm.CSTankSym SP3DStorageTankAsm.CSTankDef
SP3DStorageTankAsm.CSTankSym SP3DStorageTankAsm.CSTankDef
8. Save the changes to a new workbook called BoilerTypes.xls. Remember to add the letter A to
all new records.
a EquipmentAssemblyClass
Start
a BoilerType1 001A-E BoilerType1
a BoilerType1 001A_IMP-E BoilerType1
9. Select Start -> All Programs -> Intergraph SmartPlant -> Database Tools -> Bulkload
Reference Data to run the Bulkload Utility.
10. Select the BoilerTypes.xls file under Excel files using the Add button.
11. Under Bulkload Mode options, select the A/M/D bulkload mode and uncheck “Update
Object Type Hierarchy and Catalog Views” option.
Note: “Update Object Type Hierarchy and Catalog Views” option is provided that will allow
the catalog administrator to choose when the Business Object Classification Hierarchy (BOC)
and catalog views are updated.
12. Under Catalog information area, select the server name and select the training catalog
databases. Last, define the path for the error log file and key in the symbol share location.
14. Once the process is complete, go to the Equipment Task and place the Boiler Type1.
Note: The following steps should be performed if you skipped the Business Object
Classification Hierarchy (BOC) and catalog views update.
15. Open a session and go to the catalog task. Select the Catalog -> Generate Views option. The
system will display a message dialog. Select Yes button to continue.
Note: The following needs to be performed on a production catalog to ensure that the data set
is correct and consistent.
16. Run the Project Management Task. Select the Model in the hierarchy.
20. Once the process is complete. Right click on the model and select regenerate the report
database.
Objective
Custom Interfaces
The Custom Interfaces sheet allows you to load a custom schema into the metadata of a catalog.
This sheet defines the customized user interfaces and attributes (properties) for the smart/part
classes in the workbook.
In this lab, you will add a new custom interface and three attributes for a smart class called
BoilerType2. Also, you will create a new code list table namespace called Inspection Points in
the catalog schema. Use the Custom Interfaces sheet to define the attributes names with
associated data type, unit type and code list table namespace as shown below:
1. Open the AllCodeList.xls Excel workbook. The AllCodeList.xls can be found at C:\Program
Files (x86)\Smart3D\CatalogData\BulkLoad\DataFiles
2. Copy the WasherType worksheet into a new workbook by doing the following:
Select the WasherType sheet. Right Click to open the Move or Copy dialog box. In the “To
book:” field, select (new book). Enable the copy option. Select the OK button.
Note: The limit for a codelist name is 64 characters. You cannot use blanks or special
characters for the codelist name.
UserClassName OccClassName
10. Change the name and description for both parts as follows:
Start
a BoilerType2 001A-E BoilerType2
a BoilerType2 001A_IMP-E BoilerType2
11. Create a new interface called IJUABoilerSpecs. Go to the Custom Interface sheet and add the
following entries
Note: Values for UnitsType and PrimaryUnits can be found on the UOM worksheet in
AllCommon.xls found in <SP3D Installation Folder>\CatalogData\Bulkload\Datafiles.
12. Go to the BoilerType2 Smart Class Definition and insert the following data:
Note: Occurrence attributes are interpreted by the identifier ‘OA:’ and are defined along
with the definition of the SmartClass in the SmartClass worksheets.
An attribute with the same name can exist on more than one interface. On our smart class
sheet, you can scope the user attributes based on their interfaces and symbol parameters.
The scoping syntax is Interface::UserAttribute<Symbol Parameter>.
NOTE: The OA:MaxPressure and the MaxPressure DO NOT have to be on the same
columns. Add the OA’s to first available Column in the Part Class Row and add the
MaxPressure in the first available column for the Headers.
13. Save the changes and use the Bulkload Utility to load the new class and codelist.
Remember to add the letter A to all sheets.
Server_name
Server_name
\\Server_name\SharedContent
14. Once the bulkload process is complete, run the Project Management Task. Select the
Model in the hierarchy.
18. Once the process is complete. Right click on the model and select regenerate the report
database.
20. Go to the Equipment Task and place the BoilerType2. Use the Equipment Properties page
and review the attributes.