Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Wiki Page: Add Data from External Database in OpenPLANT Isometric Manager backing sheet.

$
0
0
      Applies To        Product(s): Bentley OpenPlant Isometrics Manager   Version(s): 08.11.09.417, AutoPLANT SS6   Environment:  Windows 7 64/32 bit   Area:  Settings/Attributes   Subarea:    Original Author: Abhijit Bute, Bentley Technical Support Group       Background In general, Athe majority of data for Isometric output is gathered from the Piping table. However, situations can arise where data from external database could be valuable for placement on Iso's. The following illustrated queries demonstrate how to pull a field from the external database into Isometric backing sheet. Steps to Accomplish Create New (Database) Excel Sheet Add Data.   Create new excel file (USER.xls) and entry as per below screen shot. Save file in appropriate location. Edit Textnode.txt file Add new database entry in textnodes.txt file. exdsn=Driver={Microsoft Excel Driver (*.xls)};Dbq=C:\testing\praxair\Config\OpenPlant\Isometrics\styles\As-Built\config\USER.xls; Add following query to get DRAWNBY, CHEKEDBY,APPROVEDBY avalues from database.    DRAWNBY=DBQUERY($(exdsn), select INITIALS from [Sheet1$] where NAME='$(USERNAME)')Z    CHECKEDBY=DBQUERY($(exdsn), select CHECKED from [Sheet1$] where NAME='$(USERNAME)')              APPROVEDBY = DBQUERY($(exdsn), select APPROVED from [Sheet1$] where NAME='$(USERNAME)')             Refer below image:                     3.   Save textnode.txt file.      4.  For more detail refer below mention link. See Also http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/15447.adding-data-from-the-process-table-to-isometric-backing-sheetdrawing-frameseed-file.aspx Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!

Viewing all articles
Browse latest Browse all 16985

Trending Articles