<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to Set Pipeline Color By LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to Set Pipeline Color By LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name</link><pubDate>Tue, 14 Nov 2017 11:21:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcb609a1-5354-4694-9bcd-edf7ea6edcd5</guid><dc:creator>Kestutis Mitkus</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name#comments</comments><description>Current Revision posted to OpenPlant | AutoPLANT Wiki by Kestutis Mitkus on 11/14/2017 11:21:07 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenPlant Modeler&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.XXX&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Windows 7 64 bit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Settings/Attribute&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rahul Kumar, Bentley Product Advantage Group&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h2&gt;Background&lt;/h2&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;To Set the pipeline color by &amp;nbsp;Pipeline Name, &amp;nbsp;modification in &amp;lsquo;Named Expression&amp;rsquo; &amp;nbsp;required which can be found under &amp;lsquo;Utilities&amp;rsquo; Menu and to customize &amp;lsquo;Element template&amp;rsquo; to define the pipeline name and hence color to it under &amp;lsquo;Element&amp;rsquo; option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it.&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Steps to Accomplish&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Launch Open Plant Modeler.&lt;/li&gt;
&lt;li&gt;Select DGNLIB as files of type to open DGN library files (dgnlib). See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png"&gt;&lt;img alt=" " border="0" height="264" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png" width="505" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png"&gt;&lt;img alt=" " border="0" height="279" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png" width="507" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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&amp;rsquo;s.&amp;nbsp;&lt;br /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Model&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_CENTERLINE:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Centerline&amp;quot;&lt;/p&gt;
&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_INSULATION:&lt;/span&gt;&lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;-INS&amp;quot; &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Insulation&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;i&gt;Make sure to copy the strings correctly.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Save each Expression which turns &lt;b&gt;blue&lt;/b&gt;&lt;b&gt;.&lt;/b&gt; Save option will get enabled once you modify the Expressions: See below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png"&gt;&lt;img alt=" " border="0" height="290" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png" width="517" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select &amp;lsquo;New Template group&amp;rsquo; for a New Line Number and &amp;lsquo;New Template&amp;rsquo; option to define 3 nodes &lt;i&gt;Model&lt;/i&gt;, &lt;i&gt;Centerline, and Insulation&lt;/i&gt;. See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png"&gt;&lt;img alt=" " border="0" height="278" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png" width="391" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Define Line Number as shown in below for few pipelines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png"&gt;&lt;img alt=" " border="0" height="411" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png" width="393" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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:&lt;br /&gt;&lt;br /&gt;Model:&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png"&gt;&lt;img alt=" " border="0" height="146" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png" width="399" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Centerline:&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png"&gt;&lt;img alt=" " border="0" height="151" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Insulation:&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png"&gt;&lt;img alt=" " border="0" height="155" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png" width="404" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;To set the transparency color right click on the template, Set it to 90. See below image:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png"&gt;&lt;img alt=" " border="0" height="259" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png" width="527" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.&lt;br /&gt;.&amp;nbsp;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png"&gt;&lt;img alt=" " border="0" height="263" src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png" width="529" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;See Also&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/12239/how-to-set-pipeline-color-by-service-in-openplant-modeler"&gt;communities.bentley.com/.../how-to-set-pipeline-color-by-service-in-openplant-modeler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/4870/named-expressions-managing-component-symbology-in-openplant-modeler"&gt;communities.bentley.com/.../named-expressions-managing-component-symbology-in-openplant-modeler&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Comments or Corrections?&lt;/h2&gt;
&lt;p&gt;Bentley&amp;#39;s&amp;nbsp;Product Advantage&amp;nbsp;Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: OpenPlant Modeler, Named Expressions, Settings/Attributes, 08.11.09.404&lt;/div&gt;
</description></item><item><title>How to Set Pipeline Color By LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name/revision/4</link><pubDate>Wed, 03 Jun 2015 11:13:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcb609a1-5354-4694-9bcd-edf7ea6edcd5</guid><dc:creator>Rahul Kumar</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name#comments</comments><description>Revision 4 posted to OpenPlant | AutoPLANT Wiki by Rahul Kumar on 6/3/2015 11:13:02 AM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" alt=" " /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table border="0" style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenPlant Modeler&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.XXX&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Windows 7 64 bit&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Settings/Attribute&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rahul Kumar, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;To Set the pipeline color by &amp;nbsp;Pipeline Name, &amp;nbsp;modification in &amp;lsquo;Named Expression&amp;rsquo; &amp;nbsp;required which can be found under &amp;lsquo;Utilities&amp;rsquo; Menu and to customize &amp;lsquo;Element template&amp;rsquo; to define the pipeline name and hence color to it under &amp;lsquo;Element&amp;rsquo; option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Steps to Accomplish&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Launch Open Plant Modeler.&lt;/li&gt;
&lt;li&gt;Select DGNLIB as files of type to open DGN library files (dgnlib). See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png" border="0" alt=" " width="505" height="264" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png" border="0" alt=" " width="507" height="279" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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&amp;rsquo;s.&amp;nbsp;&lt;br /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Model&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_CENTERLINE:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Centerline&amp;quot;&lt;/p&gt;
&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_INSULATION:&lt;/span&gt;&lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;-INS&amp;quot; &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Insulation&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;i&gt;Make sure to copy the strings correctly.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Save each Expression which turns &lt;b&gt;blue&lt;/b&gt;&lt;b&gt;.&lt;/b&gt; Save option will get enabled once you modify the Expressions: See below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png" border="0" alt=" " width="517" height="290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select &amp;lsquo;New Template group&amp;rsquo; for a New Line Number and &amp;lsquo;New Template&amp;rsquo; option to define 3 nodes &lt;i&gt;Model&lt;/i&gt;, &lt;i&gt;Centerline, and Insulation&lt;/i&gt;. See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png" border="0" alt=" " width="391" height="278" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Define Line Number as shown in below for few pipelines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png" border="0" alt=" " width="393" height="411" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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:&lt;br /&gt;&lt;br /&gt;Model:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png" border="0" alt=" " width="399" height="146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Centerline:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png" border="0" alt=" " width="400" height="151" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Insulation:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png" border="0" alt=" " width="404" height="155" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;To set the transparency color right click on the template, Set it to 90. See below image:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png" border="0" alt=" " width="527" height="259" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.&lt;br /&gt;.&amp;nbsp;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png" border="0" alt=" " width="529" height="263" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;See Also&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="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"&gt;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&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx"&gt;http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Technical Support Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: OpenPlant Modeler, Named Expressions, Settings/Attributes, 08.11.09.404&lt;/div&gt;
</description></item><item><title>How to Set Pipeline Color By LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name/revision/3</link><pubDate>Sat, 31 Jan 2015 23:48:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcb609a1-5354-4694-9bcd-edf7ea6edcd5</guid><dc:creator>Rahul Kumar</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name#comments</comments><description>Revision 3 posted to OpenPlant | AutoPLANT Wiki by Rahul Kumar on 1/31/2015 11:48:52 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" alt=" " /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table border="0" style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenPlant Modeler&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.XXX&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Windows 7 64 bit&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Settings/Attribute&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rahul Kumar, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;To Set the pipeline color by &amp;nbsp;Pipeline Name, &amp;nbsp;modification in &amp;lsquo;Named Expression&amp;rsquo; &amp;nbsp;required which can be found under &amp;lsquo;Utilities&amp;rsquo; Menu and to customize &amp;lsquo;Element template&amp;rsquo; to define the pipeline name and hence color to it under &amp;lsquo;Element&amp;rsquo; option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Steps to Accomplish&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Launch Open Plant Modeler.&lt;/li&gt;
&lt;li&gt;Select DGNLIB as files of type to open DGN library files (dgnlib). See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png" border="0" alt=" " width="505" height="264" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png" border="0" alt=" " width="507" height="279" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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&amp;rsquo;s.&amp;nbsp;&lt;br /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Model&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_CENTERLINE:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Centerline&amp;quot;&lt;/p&gt;
&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_INSULATION:&lt;/span&gt;&lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;-INS&amp;quot; &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Insulation&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;i&gt;Make sure to copy the strings correctly.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Save each Expression which turns &lt;b&gt;blue&lt;/b&gt;&lt;b&gt;.&lt;/b&gt; Save option will get enabled once you modify the Expressions: See below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png" border="0" alt=" " width="517" height="290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select &amp;lsquo;New Template group&amp;rsquo; for a New Line Number and &amp;lsquo;New Template&amp;rsquo; option to define 3 nodes &lt;i&gt;Model&lt;/i&gt;, &lt;i&gt;Centerline, and Insulation&lt;/i&gt;. See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png" border="0" alt=" " width="391" height="278" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Define Line Number as shown in below for few pipelines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png" border="0" alt=" " width="393" height="411" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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:&lt;br /&gt;&lt;br /&gt;Model:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png" border="0" alt=" " width="399" height="146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Centerline:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png" border="0" alt=" " width="400" height="151" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Insulation:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png" border="0" alt=" " width="404" height="155" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;To set the transparency color right click on the template, Set it to 90. See below image:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png" border="0" alt=" " width="527" height="259" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.&lt;br /&gt;.&amp;nbsp;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png" border="0" alt=" " width="529" height="263" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;See Also&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="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"&gt;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&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx"&gt;http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Technical Support Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: OpenPlant Modeler, Settings/Attributes, 08.11.09.404&lt;/div&gt;
</description></item><item><title>How to set Pipeline color by LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name/revision/2</link><pubDate>Tue, 09 Sep 2014 17:03:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcb609a1-5354-4694-9bcd-edf7ea6edcd5</guid><dc:creator>Rahul Kumar</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name#comments</comments><description>Revision 2 posted to OpenPlant | AutoPLANT Wiki by Rahul Kumar on 9/9/2014 5:03:20 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" alt=" " /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/OPM_5F00_COLOR.jpg"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/OPM_5F00_COLOR.jpg" border="0" alt=" " width="399" height="194" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;To Set the pipeline color by &amp;nbsp;Pipeline Name, &amp;nbsp;modification in &amp;lsquo;Named Expression&amp;rsquo; &amp;nbsp;required which can be found under &amp;lsquo;Utilities&amp;rsquo; Menu and to customize &amp;lsquo;Element template&amp;rsquo; to define the pipeline name and hence color to it under &amp;lsquo;Element&amp;rsquo; option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Steps to Accomplish&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Launch Open Plant Modeler.&lt;/li&gt;
&lt;li&gt;Select DGNLIB as files of type to open DGN library files (dgnlib). See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png" border="0" alt=" " width="505" height="264" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png" border="0" alt=" " width="507" height="279" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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&amp;rsquo;s.&amp;nbsp;&lt;br /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Model&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_CENTERLINE:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Centerline&amp;quot;&lt;/p&gt;
&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_INSULATION:&lt;/span&gt;&lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;-INS&amp;quot; &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Insulation&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;i&gt;Make sure to copy the strings correctly.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Save each Expression which turns &lt;b&gt;blue&lt;/b&gt;&lt;b&gt;.&lt;/b&gt; Save option will get enabled once you modify the Expressions: See below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png" border="0" alt=" " width="517" height="290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select &amp;lsquo;New Template group&amp;rsquo; for a New Line Number and &amp;lsquo;New Template&amp;rsquo; option to define 3 nodes &lt;i&gt;Model&lt;/i&gt;, &lt;i&gt;Centerline, and Insulation&lt;/i&gt;. See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png" border="0" alt=" " width="391" height="278" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Define Line Number as shown in below for few pipelines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png" border="0" alt=" " width="393" height="411" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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:&lt;br /&gt;&lt;br /&gt;Model:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png" border="0" alt=" " width="399" height="146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Centerline:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png" border="0" alt=" " width="400" height="151" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Insulation:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png" border="0" alt=" " width="404" height="155" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;To set the transparency color right click on the template, Set it to 90. See below image:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png" border="0" alt=" " width="527" height="259" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.&lt;br /&gt;.&amp;nbsp;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png" border="0" alt=" " width="529" height="263" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;See Also&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="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"&gt;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&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx"&gt;http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Technical Support Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Settings/Attributes, Bentley OpenPlant Modeler, 08.11.09.404&lt;/div&gt;
</description></item><item><title>How to set Pipeline color by LINE_NUMBER/Name</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name/revision/1</link><pubDate>Tue, 09 Sep 2014 17:02:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fcb609a1-5354-4694-9bcd-edf7ea6edcd5</guid><dc:creator>Rahul Kumar</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/16943/how-to-set-pipeline-color-by-line_5f00_number-name#comments</comments><description>Revision 1 posted to OpenPlant | AutoPLANT Wiki by Rahul Kumar on 9/9/2014 5:02:26 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" alt=" " /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/OPM_5F00_COLOR.jpg"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/OPM_5F00_COLOR.jpg" border="0" alt=" " width="399" height="194" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;To Set the pipeline color by &amp;nbsp;Pipeline Name, &amp;nbsp;modification in &amp;lsquo;Named Expression&amp;rsquo; &amp;nbsp;required which can be found under &amp;lsquo;Utilities&amp;rsquo; Menu and to customize &amp;lsquo;Element template&amp;rsquo; to define the pipeline name and hence color to it under &amp;lsquo;Element&amp;rsquo; option. In OpenPlant, Pipeline name assigned under NAME property, hence it is required to write the Named expression according to it.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Steps to Accomplish&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Launch Open Plant Modeler.&lt;/li&gt;
&lt;li&gt;Select DGNLIB as files of type to open DGN library files (dgnlib). See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6521.1.png" border="0" alt=" " width="505" height="264" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Under Utility Menu, Select Named expression and click on OP_SYMBOLOGY_PIPING. See image below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7725.2.png" border="0" alt=" " width="507" height="279" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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&amp;rsquo;s.&amp;nbsp;&lt;br /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Model&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_CENTERLINE:&lt;/span&gt; &lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Centerline&amp;quot;&lt;/p&gt;
&lt;span style="text-decoration:underline;"&gt;OP_SYMBOLOGY_PIPING_INSULATION:&lt;/span&gt;&lt;br /&gt; &amp;quot;BY_LEVEL_AND_TEMPLATE:&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;-INS&amp;quot; &amp;amp; &amp;quot;:OpenPlant\Piping\&amp;quot; &amp;amp; PIPELINE.NAME &amp;amp; &amp;quot;:Insulation&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;i&gt;Make sure to copy the strings correctly.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Save each Expression which turns &lt;b&gt;blue&lt;/b&gt;&lt;b&gt;.&lt;/b&gt; Save option will get enabled once you modify the Expressions: See below for reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7651.3.png" border="0" alt=" " width="517" height="290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open Element Template, and Expand Piping Node. To create a new Line Number, you need to right click on Piping and select &amp;lsquo;New Template group&amp;rsquo; for a New Line Number and &amp;lsquo;New Template&amp;rsquo; option to define 3 nodes &lt;i&gt;Model&lt;/i&gt;, &lt;i&gt;Centerline, and Insulation&lt;/i&gt;. See image below.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0121.4.png" border="0" alt=" " width="391" height="278" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Define Line Number as shown in below for few pipelines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5557.5.png" border="0" alt=" " width="393" height="411" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;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:&lt;br /&gt;&lt;br /&gt;Model:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8103.6.png" border="0" alt=" " width="399" height="146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Centerline:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5344.7.png" border="0" alt=" " width="400" height="151" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Insulation:&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7128.8.png" border="0" alt=" " width="404" height="155" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please note that for Insulation you need to set the transparencies, else it will overlap the main pipe color.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;To set the transparency color right click on the template, Set it to 90. See below image:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1321.9.png" border="0" alt=" " width="527" height="259" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Close the template and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.&lt;br /&gt;.&amp;nbsp;&lt;a href="/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png"&gt;&lt;img src="/resized-image.ashx/__size/690x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7041.10.png" border="0" alt=" " width="529" height="263" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;See Also&lt;/h1&gt;
&lt;p&gt;&lt;b&gt;Reference:&lt;/b&gt; &lt;i&gt;You may refer below Bentley&amp;rsquo;s Communities link: &lt;/i&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="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"&gt;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&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx"&gt;http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/4870.managing-component-symbology-in-openplant.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Technical Support Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?&amp;quot; section. THANK YOU!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Settings/Attributes, Bentley OpenPlant Modeler, 08.11.09.404&lt;/div&gt;
</description></item></channel></rss>