Image may be NSFW.
Clik here to view.
Applies To | |||
Product(s): | Bentley OpenPlant Modeler | ||
Version(s): | 08.11.09.278 | ||
Environment: | N/A | ||
Area: | Tasks | ||
Subarea: | Piping | ||
Original Author: | Justinas Lipnickas, Bentley Technical Support Group | ||
Sometimes it is required to load a bunch of Company standard Services / Units into an active dgn file. In the OpenPlant Modeler SS5 version a new command for this was introduced. Sample files for importing can be found here.
Steps to Accomplish
1. Create plain text import files, according to the following file format:
[Associations]
<Associated Class1>=<Business Key>
<Associated Class2>=<Business Key>
[InstanceData]
<Property Name 1>=<Value>
<Property Name 2>=<Value>
- Associations tag are optional and not required for example as in case of unit or service;
- Any number of instances following an associations tag will be associated to defined associations;
- It is assumed that any associations already exist in the design file, if they are used in the text file.
Image may be NSFW. Clik here to view. ![]() | Image may be NSFW. Clik here to view. ![]() | Image may be NSFW. Clik here to view. ![]() |
2. Open the dgn file into which you will be importing these instances;
3. Enter the Key-in OpenPlantModeler Import <Class Name>. Note that <Class Name> is case sensitive (most likely it will be uppercase), so to import Services you need to run OpenPlantModeler Import SERVICE key-in.
4. You will get a File Open dialog, where you need to select the text file with the Instances you will import and click open.
NOTE: If you are using some associations in your text file, you need to make sure that those associated items are already existing in the active DGN file. So according to the sample files, you would first need to load Unit and Service files, and only then load the Pipelines file.
5. After importing sample files, all associations and pipelines should appear in your items tree. It can also be then checked-in to the OPMS server, if needed.
Image may be NSFW.
Clik here to view.