Process, Power and Marine Division
SmartPlant P&ID Automation Overview
Raghu Veeramreddy
29th October - 2008
TELUS Center - Calgary
What is Automation?
Automation is the process of using objects
that belong to another application to
control that application and/or use its
functionality.
2007. Intergraph Corporation. All Rights Reserved.
Skill Requirements
Introductory knowledge of SPPID
Concept of relational database
Intermediate level of Visual Basic
2007. Intergraph Corporation. All Rights Reserved.
Practical Customer Examples
Source code provided to user for:
Item Tag validation
Populating the Unit Code
PlantItem validation
Import
OPC Validate
CopyTransformation
Drawing Revision Validation
SyncSlopeRiseRunAngle
2007. Intergraph Corporation. All Rights Reserved.
Types of Automation
Stand-Alone Applications
ActiveX components integrated into the
SmartPlant Modeler
2007. Intergraph Corporation. All Rights Reserved.
Possibilities/Benefits
Retrieve data from Database
Modify data in Database
Reduce Redundant Data Input
Trace the Topology of Pipelines
Automate Placement of Related Items
Enhance Reporting Capability
Integrated with Other Data Source
Automated Data Calculation
2007. Intergraph Corporation. All Rights Reserved.
Getting Started
2007. Intergraph Corporation. All Rights Reserved.
Automation Libraries
Can be referenced into
any COM compliant
development
environment
Four libraries provided
for external Automation:
LLAMA
PLAICE
PIDAutomation
LMAutomationUtil
2007. Intergraph Corporation. All Rights Reserved.
Logical Model Automation
A Class library
Classes represent the data
model
Methods reflect the
properties and data
connectivity
Provides a logical structure
to access and manipulate
data
2007. Intergraph Corporation. All Rights Reserved.
PID Automation
A Class library
Only utilize three methods
Drawings.Add
Drawing.OpenDrawing
Drawing.CloseDrawing
2007. Intergraph Corporation. All Rights Reserved.
Placement Automation
A library of methods
Place items on a drawing
Interface with the Logical
Model Automation
(Llama) for data
manipulation
2007. Intergraph Corporation. All Rights Reserved.
LMAutomationUtil
A Class library
Only utilize two methods
RunsNavigation
RunsNavigationAll
2007. Intergraph Corporation. All Rights Reserved.
Future Enhancements
2007. Intergraph Corporation. All Rights Reserved.
Feature Enhancement
Add new features to SP P&ID
Create
Delete
Validation
User Program
Modify SP Client for
Interaction
Copy New Feature
Filter
2007. Intergraph Corporation. All Rights Reserved.