Export to DRV
<plantwise>\Documentation\Navigator support file\PlantWise DRV workspacefolder.
C:\Documents and Settings\All Users\Application Data\Bentley\WorkSpace\Projects\Examples\if you use the default installation directories.
The plantwise.lib file in the provided workspace is compatible with the components and attributes exported by the sample DRV report files. If you set your Navigator to use this workspace on startup, Navigator displays the exported PlantWise component information when you select a graphic object and ask for element information. You can export your PlantWise model by choosing from the PlantWise menu and then selecting DRV Model Export in the Export dialog. You are then be prompted for the file path and an export name in the Export to DRV dialog. PlantWise then saves, in the specified location, three files: the MicroStation design file at the time of the export, a .dri, and a .drv - all with the name as provided by you.
- have drv- at the beginning of its name;
- have the lbl expression as the first column; and
- have the close expression as the last column.
The label expression (lbl) opens the entry for each component of the report so that Smart Plant can read the data.
"lbl{" + lisp-function(dpar-get-dmrs-string <report component>) + "text {"As an example, the label expression for the drv-eq report provided with PlantWise is:
"lbl{" + lisp-function(dpar-get-dmrs-string equipment) + "text {"The close expression ends the entry for each component of the report, its format is:
"<carriage-return>}}