Applies To | |
Product(s): | OpenPlant Isometrics Manager |
Version(s): | 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6) |
Environment: | Windows 7/8.1/10 (64 bit) |
Area: | Settings/Attributes |
Subarea: | Configuring the BOM and Reports |
Original Author: | Justinas Lipnickas, Bentley Product Advantage Group |
Background
Adding a custom property to the OpenPlant Modeler component, and getting that property to display in the Bill Of Material of the generated Isometrics.
Steps to Accomplish
- In class Editor, Open OpenPlant_3D.01.07.ecschema, which by default is located at this path:
C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\[...Project Name...]\DataSet\Schemas
- Locate the class you will be editing (PIPE_ELBOW in this sample) and add a new property in the Properties tab. If required, map it to the Catalog data, have it calculated by using appropriate Custom Attributes on the property;
The easiest way is to copy and edit most similar property with all custom attributes. In this example I have copied DESIGN_LENGTH_CENTER_TO_OUTLET_END property.
- Save all changes and verify the results
- Supplement same schema with the Supplemental Isometrics Isoextractor schema. To Supplement it, use right click mouse on OpenPlant_3D Schema and Click on "Supplement Schema" option. See image below
- Navigate to project folder to select Isoextractor schema mentioned in steps 3.
Note - Supplementing Schema would facilitate user to define its specific Custom attributes to it, which relates its functionality and should be controlled through particular file only.
- Select Pipe Elbow class again, in Class tab scroll down to find "Specific BOM Labels" Custom Attribute. It is already present for the PIPE_ELBOW class. If it not already added to the class you're modifying, right on a class go to Custom Attribute>Add/Remove and add it. Alternatively, you can copy this custom attribute from lets say PIPE_ELBOW to your class.
- In the Custom Attribute, right click and select Add Element, enter the name and the value of the item. See images below:
- Save and close the schema. Go to Project workspace,
C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\[...Project Name...]\DataSet\Isometrics\Styles\[...Style name...]\Config
open report.def file and add desired property to the Material list:
REPORT = SHP
# this to include only shop material
INCLUDE = IE_FIELD = 0
EXCLUDE = IE_TYPE = CT_WELD
COLUMN = 3: R : PARTID
COLUMN = 19: C : QUANTITY
COLUMN = 6: R : SIZE1
COLUMN = 10: R : SIZE2
COLUMN = 6: RA1 : DRY_WEIGHT
COLUMN = 3: L :"kg"
COLUMN = 10: R : CENTER_POINT
COLUMN = 3: L :
COLUMN = 80: W : IE_DESCRIPT
GROUP = PARTID
SORT = PARTID:N
SEP = @
SORTHEADERS = 1
TEXT = @ ----------------------------------------------------------
TEXT = @ Shop Materials
TEXT = @ ----------------------------------------------------------
Write =
END -
You should now be able to see your custom property in the BOM of your generated Isometrics.
See Also
communities.bentley.com/.../12642.configuring-the-bom-and-reports
Comments or Corrections?
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!