<?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 Remove Trailing Zeros from EC Annotations in OpenPlant Modeler</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/27927/how-to-remove-trailing-zeros-from-ec-annotations-in-openplant-modeler</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to Remove Trailing Zeros from EC Annotations in OpenPlant Modeler</title><link>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/27927/how-to-remove-trailing-zeros-from-ec-annotations-in-openplant-modeler</link><pubDate>Fri, 22 Apr 2016 13:53:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:70cb75d0-0666-457e-ac41-664ba813d3c9</guid><dc:creator>Rahul Kumar</dc:creator><comments>https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/27927/how-to-remove-trailing-zeros-from-ec-annotations-in-openplant-modeler#comments</comments><description>Current Revision posted to OpenPlant | AutoPLANT Wiki by Rahul Kumar on 4/22/2016 1:53:31 PM&lt;br /&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/0511.Bentley_2D00_TSG.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0511.Bentley_2D00_TSG.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;&lt;br class="Apple-interchange-newline" /&gt;
&lt;table border="0" style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&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;/td&gt;
&lt;td&gt;&lt;strong&gt;Applies To&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;/td&gt;
&lt;td&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;/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;/td&gt;
&lt;td&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.581&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Environment:&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;/td&gt;
&lt;td&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Settings/Attributes&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Subarea:&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;/td&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;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;To remove trailing zeros from some properties value for Annotation in OpenPlant Modeler.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;To remove trailing zeros for few properties to show it inside OpenPlant Modeler. See image below.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/01.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/01.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sometimes it is required have leading zeros or to remove trailing zeros from a property value say for Size, length etc. With below steps, user will be able to solve this issue.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Steps to Accomplish&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Launch OpenPlant Modeler &amp;amp; select Drawing Composition Tab.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Launch the Annotation Manager as shown in below image.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/1581.1.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/1581.1.png" width="420" height="336" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note &amp;ndash;&lt;/strong&gt; &lt;em&gt;Please be sure the drawing activities in the model has been checked in/saved in order to avoid any losses in drawing.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;It will open ECAnnotation.cel file for further working.&amp;nbsp;Also Annotation manger dialog gets open. See image below. &lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/7360.1a.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/7360.1a.png" width="404" height="342" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;In the Annotation Manager, create a new Model and set the type user want to include and assign a name.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/8053.2.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/8053.2.png" width="406" height="81" alt=" " /&gt;&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/6131.1.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/6131.1.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Select the Class in which annotation will apply to in the Item and select the &amp;quot;&lt;strong&gt;Place&lt;/strong&gt; &lt;strong&gt;Text&amp;quot;&lt;/strong&gt;&amp;nbsp;icon shown on right side of dialog box.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/0361.2.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/0361.2.jpg" width="511" height="400" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Select &amp;quot;&lt;strong&gt;Insert field&lt;/strong&gt;&amp;rsquo;&amp;quot;option in the word processor&amp;nbsp;dialog.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/4276.5.png"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/4276.5.png" width="406" height="191" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;In the Fields Editor, Select &amp;ldquo;&lt;strong&gt;Nominal&lt;/strong&gt; &lt;strong&gt;Diameter&lt;/strong&gt;&amp;rdquo; property. Notice in Bottom it display the trailing zeros.&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/3438.3.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/3438.3.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;From &amp;ldquo;&lt;strong&gt;Double&lt;/strong&gt; &lt;strong&gt;Format&lt;/strong&gt;&amp;rdquo; tab, select &amp;ldquo;&lt;strong&gt;Trailing&lt;/strong&gt; &lt;strong&gt;Zeros&lt;/strong&gt;&amp;rdquo; option. Change to to &amp;ldquo;Hide&amp;rdquo;. See image below.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/5078.4.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5078.4.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Adjust the size in ec annotation.dgn file and click on OK.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Annotate Component and verify result. See below image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-43/5584.5.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-43/5584.5.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;See Also&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/12238.settingsattributes-openplant-modeler"&gt;communities.bentley.com/.../12238.settingsattributes-openplant-modeler&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Comments or Corrections?&lt;/h1&gt;
&lt;p&gt;Bentley&amp;#39;s Product Advantage Group requests that you please submit any comments you have on this Wiki article to the &amp;quot;Comments&amp;quot; area below. THANK YOU!&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: OpenPlant Modeler, OPM, 08.11.09.XXX, Trailing Zeros, EC Annotations, Decimal&lt;/div&gt;
</description></item></channel></rss>