To set Pipeline colors based on line Number on Pipe Line Name and with level are general issues raised by user to implement it in OpenPlant Modeler. Below are the steps to achieve the same configuration within Open Plant Modeler. Background OpenPlant component symbology is managed in the typical Micro Station fashion. It is controlled through a combination of Named Expressions (used to read attributes and assign the Element Templates accordingly) and Element Templates (where symbology is defined for the elements identified by the Named Expression). To Set the pipeline color by Pipeline Name, modification in ‘Named Expression’ required which can be found under ‘Utilities’ Menu and to customize ‘Element template’ to define the pipeline name and hence color to it under ‘Element’ option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it. Steps to Accomplish Launch Open Plant Modeler. Select DGNLIB as files of type to open DGN library files (dgnlib). See image below. Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference. Similarly for OP_SYMBOLOGY expression for Centerline and Insulation is required. Below are the Symbology pasted to copy from here and to get it pasted to its respective Expression’s. OP_SYMBOLOGY_PIPING: "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" & PIPELINE.NAME & ":Model" OP_SYMBOLOGY_PIPING_CENTERLINE: "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" & PIPELINE.NAME & ":Centerline" OP_SYMBOLOGY_PIPING_INSULATION: "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & "-INS" & ":OpenPlant\Piping\" & PIPELINE.NAME & ":Insulation" Note: Make sure to copy the strings correctly. Save each Expression which turns blue . Save option will get enabled once you modify the Expressions: See below for reference. Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select ‘New Template group’ for a New Line Number and ‘New Template’ option to define 3 nodes Model , Centerline, and Insulation . See image below. Define Line Number as shown in below for few pipelines. Set colors as desired and levels where you want to define it by clicking on it. Similarly you can create it for centerline and Insulation. See below image for reference: Model: Centerline: Insulation: Note: Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color. To set the transparency color right click on the template, Set it to 90. See below image: Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results. . See Also https://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/12239.how-to-set-pipeline-color-by-service-in-openplant-modeler.aspx http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx Comments or Corrections? 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!
↧