<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Label polygons based on the attributes in Microstation</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/127238/label-polygons-based-on-the-attributes-in-microstation</link><description>I have imported a shape file (from ESRI) into Microstation (not Bentley Map). This shape file includes some parcels (polygons) and their attributes. I can see the attributes of each polygon in Microstaion. 
 Question: How can I label polygons based on</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Label polygons based on the attributes in Microstation</title><link>https://communities.bentley.com/thread/387323?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 12:23:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f3a79632-4bab-46dc-90ea-cc8cc92e55d4</guid><dc:creator>Frank Klein</dc:creator><description>What about using Bentely Map? You&amp;#39;ve  got a GIS work flow, you should use some GIS application!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Label polygons based on the attributes in Microstation</title><link>https://communities.bentley.com/thread/387248?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 06:25:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:faa230ff-aa95-413b-8d35-882404a4c066</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Davood,&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;Davood Shojaei&amp;quot;]How can I label polygons based on the attributes (e.g. name) in Microstation?[/quote]&lt;/p&gt;
&lt;p&gt;in addition to Andrew&amp;#39;s answer: The solution can be different depending on what MicroStation version do you use. Andrew&amp;#39;s solution is general, but MicroStation CONNECT Edition offers enhanced labeling functionality, so maybe the process will be simpler there. But I have had no time to do any hands on tests.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;Davood Shojaei&amp;quot;]I need all polygons to have their names labelled in the centre of polygons.[/quote]&lt;/p&gt;
&lt;p&gt;A crucial question is how many polygons you need to label? Using fileds mentioned by Andrew requires to place every text individually including to select linked element and to choose attribute to display, so it can be time consuming if many polygons exist.&lt;/p&gt;
&lt;p&gt;An alternative solution can be to create small VBA macro that will iterate through shapes in a selected level and will place the text automatically in the shapes centroid. The difference is that no fields (dynamic link to element property) can be used, because there is no API to access this functionality from VBA. But I guess static texts seems to be no problem in this case.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Label polygons based on the attributes in Microstation</title><link>https://communities.bentley.com/thread/387234?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 04:35:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:124fcce7-943b-46c0-a1a4-a0a58b482bf1</guid><dc:creator>Andrew Bell</dc:creator><description>The easiest method of performing this operation would be to place Text Fields using the Element Attributes. This would be a singularly placed piece of text and believe this would be better achieved using the tool available in Bentley Map. The following Wiki article should help in placing Text Fields.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://communities.bentley.com/products/microstation/w/microstation__wiki/12506.text-fields-auto-updating-annotations"&gt;communities.bentley.com/.../12506.text-fields-auto-updating-annotations&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>