Applies To | |
Product(s): | OpenPlant Isometrics Manager |
Version(s): | 10.XX.XX.XXX |
Environment: | Windows 10 (64 bit) |
Area: | Settings/Attributes |
Subarea: | |
Original Author: | Abhijit Bute, Bentley Technical Support Group |
Defining a new/custom plant object in Project Administrator will lead to failing Isometrics generation using OPIM from within AutoPLANT session (in-session generation). The reason this happens is due to the fact that the new (custom) plant object does not have an appropriate mapping in the schema which can tell the generation process about it.
Open class editor and open ‘OpenPLANT_3D.01.04.ecshema.xml’ from project location.
For ex.(default metric project path)
C:\ProgramData\Bentley\Plant V8i\BentleyPlantV8iProjects\SAMPLE_METRIC\Config\OpenPlant\schemas
1.Next step is to create a new derived class under NAMED_ITEM class. Find the NAMED_ITEM class using Search option in Class Editor or browse manually. (refer below image)
2.Once NAMED_ITEM class located, right click on it and select “Add Derived Class” to add a new class. Give an appropriate name to new class like SHEETNR_CLASS etc. (refer below image)
Add a custom attribute to that class. This would help to map it to the appropriate table in the plant database. For this, right click on the class and select Add/Remove… option under Custom Attributes menu as shown below
This would launch a dialog as shown below. Select AP_3D_ClassProperties and add it into the list of Applied Custom Attributes. Press OK on this dialog to add it to the class
Now need to map the class to the table in the project database. In the “ClassNames” section of AutoPLANT_PDW_Class_Map, right click and select Add element option. This would add a child node to ClassNames as ClassNames[0]. Type the name of the project database table.
2.Press “Save” button to save this schema and reload the drawing to start using OPIM in-session.
3.Verify result.
Add the new property SHEETNO to Piping Component and also add AutoPLANT_PDW_PROPERTY MAP
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!