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

Wiki Page: How to Map Spec Field with OpenPlant Modeler Property

$
0
0
Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 (64 bit) Area: Properties Subarea: Original Author: Harpreet Singh, Bentley Product Advantage Group Background In order to pull the values from the spec for a component to have it populated in the corresponding property, that property needs to be mapped to spec field. This article will explain how to map the spec field with properties. We will take two examples; CASE 1: We will take PIPE_OD_M field from PIPE table and map it with Outside Diameter property on PIPE class; CASE 2: We will take HANDLE_OFFSET field from TOPWORKS table and map it with HANDLE_OFFSET property on GEARBOX_OPERATOR class CASE 1 : Mapping PIPE_OD_M column from spec with Outside Diameter property of pipe Steps to Accomplish Open class editor and load OpenPlant_CustomAttributes schema from \\Workspace\OPModeler\Schemas folder. Load OpenPlant_3D schema from your project dataset and supplement it with OpenPlant_3D_Supplemental_Modeling schema. Go to PIPE class and switch to properties tab. Select OUTSIDE_DIAMETER property and add 'OpenPlant_Physical_Catalogue_Property_Map' custom attribute. Add 'PIPE_OD_M' in the property name field of the custom attribute. Save the changes in the schema and verify the result. CASE 2 : Mapping HANDLE_OFFSET column from spec with HANDLE_OFFSET property of Gearbox Operator Steps to Accomplish Open Bentley Class editor from OpenPlant Project Administrator application Open OpenPlant_3D.01.07.ecschema from C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\OPModeler_Metric\DataSet\Schemas Right Click on Opened OpenPlant_3D schema on the left pane and supplement it with the following Schemas OpenPlant_3D_Supplemental_Information_3DComponent.01.07.ecschema.xml OpenPlant_3D_Supplemental_Metric_DefaultValues.01.07.ecschema.xml OpenPlant_3D_Supplemental_Modeling.01.07.ecschema.xml Go to GEARBOX_OPERATOR class and switch to properties tab Select HANDLE_OFFSET Scroll down in the Attributes and find OpenPlant_Physical_Catalogue_Property_Map and insert the value HANDLE_OFFSET in the PropertyName field Save the schema and exit Use Windows File Explorer and browse to the folder where the specs are stored Open the spec with MS_ACCESS Browse to TOP_WORKS table Insert a field named “ HANDLE_OFFSET ” Find the row with EC_CLASS_NAME “ GEARBOX_OPERATOR ” Insert the value of offset you want in the HANDLE_OFFSET fields; For example, we have given an offset of 25 for a gearbox of MAIN_SIZE(Nominal diameter) – 150mm Save the Spec and Exit Launch OpenPlant Modeler and the select the spec just edited Place a Butterfly Valve for Nominal Diameter 150mm Place a Gearbox operator In Place Component box, the default Handwheel offset is 25, taken from Spec 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!

Viewing all articles
Browse latest Browse all 12277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>