Академический Документы
Профессиональный Документы
Культура Документы
ENGINEERED EFFICIENCY
Manual
Copyright
Copyright 2002 CAXperts GmbH. All Rights Reserved.
Including so6ware, le formats, and audiovisual displays; may be used pursuant to applicable so6ware licence agreement; contains conden;al and proprietary informa;on of CAXperts and/or third par;es which is protected by copyright law, trade secret law, and interna;onal treaty, and may not be provided or otherwise made available without
proper authoriza;on.
Trademarks
CAXperts is a registered trademark of CAXperts GmbH. Intergraph, the Intergraph logo, SmartSketch, FrameWorks,
SmartPlant, INtools, MARIAN, PDS, IGDS, RIS and IntelliShip are registered trademarks of Intergraph Corpora;on. IGDS
le formats 1987-1994 Intergraph Corpora;on. Microso6 and Windows are registered trademarks of Microso6
Corpora;on. Bentley, the Bentley logo B, and MicroSta;on are registered trademarks of Bentley Systems, Inc.
ISOGEN is a registered trademark of Alias Limited. Other brands and product names are trademarks of their respec;ve
owners.
Introduc on
Contents
1
Introduc on................................................................................................................. 4
1.1
Installa on................................................................................................................... 4
2.1
Uninstall ..................................................................................................................... 5
Setup command line (for administrators) ................................................................. 5
Licence ....................................................................................................................... 5
Site licence (local) ...................................................................................................... 5
Floa;ng (server) licence ............................................................................................ 6
3.4
3.5
3.6
3.7
4
Introduc on
The intended purpose of ReportAdapter for SmartPlant P&ID is to perform an extrac;on of
data used by Intergraph SmartPlant P&ID (SPPID) into a local project database in Microso6 Access format.
1.1
Typefaces
Italic
Bold
Indicates a command name, parameter name, or dialog box ;tle. Command paths are shown using an arrow between command names. For example,
Choose File Open to load a new le.
Normal
typewriter
Bold typewriter
Symbols
This document uses the following symbols to iden;fy special informa;on:
Note important supplemental informa;on.
Map or path shows you how to get to a specic command or form.
More informa;on indicates there is addi;onal or related informa;on.
Installa on
Requirements:
Installa on
Administrator rights are required on each computer to install CAXperts PID ReportAdapter. Run
as is not supported.
Uninstall
To uninstall the so6ware, select Control panel from the start menu. Then on in large or small
icon view, click Programs and features. If you're using category view, under Programs, click Uninstall a program.
Select the program you want to remove, and click Uninstall/Remove. Alterna;vely, right-click the
program and select Uninstall.
This will cause the session variables in the INI le to be used for the setup. The INI le should be
in the format:
[SetupValues]
%AppFolder%=C:\Program Files\MyProduct
2.1
Licence
CAXperts so6ware supports two types of licences:
The licence le has to be stored on a local or network loca;on accessible by the machine running
the CAXperts product; a licence server is not required.
The loca;on of the licence le should be dened on every machine with the CAXperts product
installed, which can be done
Every computer name must be preceded by the @ symbol. Mul;ple licence server loca;ons
should be separated by semicolons (;).
YourServerName is the Windows computer name of the machine running lmadmin (FlexNET
server). If lmadmin is running on a non-default port, the port number should be dened like this:
port@ YourServerName.
Note: Changes to the server path (in the environment variable or registry key) are read
during the next start of the CAXperts product.
Installa on
Borrowed licences
Licence seats can be borrowed for a period of ;me from the server and saved to the local machine. Once the seat has been borrowed the CAXperts applica;on can be used without any connec;on to the FlexNET server.
To borrow a licence seat press the Borrow seat buRon, dene the loan period (up to 7 days) and
press OK. When the borrowed seat expires it gets automa;cally returned back to the FlexNET
server.
The seat can be returned earlier by pressing the Return borrowed seat buRon.
Note: Without a valid licence le the so6ware will run in demo mode.
3.1
3.2
Loading a plant
The so6ware automa;cally connects to the ac;ve plant. It is displayed in the eld Plant and can
be changed using the Change ac ve plant... buRon.
From the Open plant structure dialog, another plant of the ac;ve site can be selected. Plants of
others sites can be accessed by using the Site server... buRon.
Before loading the plant data, the Output Access le needs to be specied using the Browse...
buRon.
3.3
Extrac ng data
Using the Extract buRon starts the extrac;on from the selected plant. Dierent extrac;on op;ons are available: All, Selected drawings, Associated data, Extract drawing les.
In Connected Workshare projects drawings which belong to the satellite are displayed in red so
that the user is informed about the status of the drawings.
Associated data
The op;on Associated data starts the extrac;on with a dialog where the desired data can be
dened using SQL statements.
The above statement for instance will extract only pipe runs whose tags begin with 05.
In a similar way it is possible to only extract pipe runs with FluidSystem Water or Nominal
Diameter 100 mm.
The same interface can also be used to search data for instance if a certain Sequence Number
has been used in the plant (the yellow bar can be used to key in a search string) without performing the extrac;on:
Only equipment tag: will report only equipment tags (no nozzle tags)
10
11
If this parameter is added and set to the value 0 then the tables will not be deleted and in tables
like t_equipment, t_piperun etc. will be available in the mdb le.
If the value is set to 1 then the tables will be deleted (this is the default behaviour if the parameter is not included in the ini le).
[Settings]
DrawingAttributes=1
If this parameter is added and set to the value 1 then the check box Add aRributes is available
in the PID ReportAdapter interface.
If the user selects it before the extrac;on then PID proper;es will be copied to the elements of
the SmartSketch le (visible in the SmartSketch proper;es window).
Note: this opera;on needs a few minutes for each drawing, if performed on large datasets
we recommend to run it in batch mode.
3.4
12
The addi;onal SQL statements can be typed in the Addi onal SQL statements to be processed
aEer extrac on eld. They have to look like the following examples
SQL1=ALTER TABLE Equipment ADD COLUMN [MyAttribute] VARCHAR(255)
SQL2=UPDATE [Equipment] SET [MyAttribute] = 'Test'
Tables that can be used in the queries are those that will be created during extrac;on. Addi;onal
tables (if needed) have to be copied before extrac;on to the template.mdb database which can
be found in the applica;on folder.
When the template is used, the %TABLE1% and %COLUMN1% elds will be lled with the table name
and column name selected in the %TABLE1% and %COLUMN1% elds.
13
Note: The %TABLE1% and %COLUMN1% elds are lled from the Access database dened for
extrac;on output, which also includes the tables from Template.mdb. This means, the elds
are only lled a6er the extrac;on was performed once.
With the Show hidden tables eld checked, all tables of the database can be selected to build
the query. If it is not checked, only tables that will be displayed in UniversalReporter are available
and tables created for internal use are hidden.
Fill in the text of SQL statement and the placeholders for Tables and columns to be used by
query textboxes by using the %TABLE1% and %COLUMN1% buRons.
User dened templates can be deleted or modied using the Remove or Edit buRons.
Note: The SQL text boxes support syntax highligh;ng.
3.5
14
If the op;on Add manual extract info is set another window will come up before extrac;on,
where informa;on like revision number or a descrip;on can be added. This informa;on is stored
in the output database and can be recalled in UniversalReporter (or Applica onReporter).
The eld Days valid can be used to dene a period during which the extracted data are valid.
A6er this period UniversalReporter (or Applica onReporter) will display a warning whenever
the database is opened.
Note: Days valid has to be a posi;ve number (or empty); all other elds are text elds
with up to 255 characters.
3.6
Congure aBributes
15
16
This allows easy ltering for instance on the Area. The selec;on is available on all objects with
the excep;on of ItemNotes and OPCs.
17
18
Connec vity aBributes for the rela ons Equipment to PipeRun and Instruments to PipeRuns or
Equipments
Even though not visible in the aRribute congura;on interface the following two aRributes are
extracted:
These aRributes can be used to create reports where the piperuns connected to an equipment
are listed (star;ng at the equipment object level) or where the instrument connec;ons can be
iden;ed (connec;ons can be to piperuns or equipment nozzles).
19
Result:
20
Within a drawing the func;on will check if the runs are graphically connected, across drawings
the func;on will check if pipe runs are connected via OPCs. All results > 0 are poin;ng at duplicate pipe run tags which are not graphically connected.
Warning whenever the database is opened.
Note: The extrac;on of the notconnected runs takes some ;me for larger datasets.
21
All results dierent than 1 are the ones to be checked (0 means no label is placed, >1 means
more than 1 label is placed on the same run.
22
3.7
Example:
"C:\Program Files\CAXperts\PID ReportAdapter\PID ReportAdapter.exe" /output
"c:\temp\PlantA.mdb"
"C:\Program Files\CAXperts\PID ReportAdapter\PID ReportAdapter.exe" /output
"c:\temp\PlantA.mdb" /site "d:\Site1\smartplantv4.ini" /plant PlantA /parentplant PlantA /config "d:\PlantA.ini"
"C:\Program Files\CAXperts\PID ReportAdapter PID ReportAdapter.exe" /output
d:\temp\1.mdb /pbs Refining Area\Recovery Unit;\Refining Area\Distillation
Unit\a_*
will save all drawings having names star;ng with a_ and located in the Rening
Area\Recovery Unit or Rening Area\Dis;lla;on Unit
The parameters /pbs and /unitcode must be used separately (either /pbs or /unitcode).
The aRribute congura;on ini le, used in the command line with the parameter /config, can
be created using the menu File Save se>ngs to le.
The op;ons of "Extract Drawing Files" and "Extract From-To rela;ons for InlineComp_Prun" from
the interac;ve mode are saved in the le
%APPDATA%\CAXperts\PID ReportAdapter\config.ini
23
(e.g.
portAdapter\config.ini). For the command line mode, the two op;ons will be read from the
Technical support
Need more help? Contact CAXperts support by email, online, or phone:
mailto:support@caxperts.com
hRp://www.caxperts.com/contact/
24