<?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>All polygons without material</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204133/all-polygons-without-material</link><description>Dear Support Team , 
 I want to find all polygons (polygons and soil polygons) without assigned material (no assigned material) in PLAXIS 2D. 
 The most obvious way is to use groupfiltered command. According to the Command reference we have eg. groupfiltered</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613201?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 13:49:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6f4f38b5-5050-4d04-abdd-ae0628a3c6bf</guid><dc:creator>Rushan Gizzatullin</dc:creator><description>&lt;p&gt;Dear &lt;strong&gt;Stefanos&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;Brilliant!&lt;br /&gt; &lt;br /&gt;One command &lt;em&gt;groupfiltered Polygons &amp;quot;Soil.Material=&amp;quot;&lt;/em&gt;&amp;nbsp;completely solves my problem.&lt;br /&gt;Maybe in some cases I need to add&amp;nbsp;&lt;em&gt;groupfiltered SoilPolygons &amp;quot;Soil.Material=&amp;quot;.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Much obliged for your help, Stefanos.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613193?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 13:30:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2004dc21-7a0b-4f06-9654-83cdab75ade3</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;And some commands to serve as an example for this case:&lt;/p&gt;
&lt;div style="background:#ffffff;border:solid grey;border-width:.1em .1em .1em .8em;overflow:auto;padding:.2em .6em;width:auto;"&gt;
&lt;pre style="color:#000;font-family:&amp;#39;Lucida Console&amp;#39;,consolas, courier new;font-size:13px;line-height:105%;margin:2px;overflow:auto;padding:2px;white-space:pre;"&gt;&lt;span style="color:navy;"&gt;_gotostructures&lt;/span&gt;
&lt;span style="color:navy;"&gt;_polygon&lt;/span&gt; &lt;span style="color:navy;"&gt;(0&lt;/span&gt; &lt;span style="color:navy;"&gt;4)&lt;/span&gt; &lt;span style="color:navy;"&gt;(0&lt;/span&gt; &lt;span style="color:navy;"&gt;2)&lt;/span&gt; &lt;span style="color:navy;"&gt;(3&lt;/span&gt; &lt;span style="color:navy;"&gt;2)&lt;/span&gt; &lt;span style="color:navy;"&gt;(3&lt;/span&gt; &lt;span style="color:navy;"&gt;4)&lt;/span&gt;
&lt;span style="color:navy;"&gt;_polygon&lt;/span&gt; &lt;span style="color:navy;"&gt;(4&lt;/span&gt; &lt;span style="color:navy;"&gt;5)&lt;/span&gt; &lt;span style="color:navy;"&gt;(4&lt;/span&gt; &lt;span style="color:navy;"&gt;2)&lt;/span&gt; &lt;span style="color:navy;"&gt;(6&lt;/span&gt; &lt;span style="color:navy;"&gt;2)&lt;/span&gt; &lt;span style="color:navy;"&gt;(6&lt;/span&gt; &lt;span style="color:navy;"&gt;4)&lt;/span&gt;
&lt;span style="color:navy;"&gt;_arrayr&lt;/span&gt; &lt;span style="color:navy;"&gt;(Polygon_1&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygon_2)&lt;/span&gt; &lt;span style="color:green;"&gt;2&lt;/span&gt; &lt;span style="color:green;"&gt;0&lt;/span&gt; &lt;span style="color:green;"&gt;3&lt;/span&gt;
&lt;span style="color:navy;"&gt;soilmat&lt;/span&gt;
&lt;span style="color:navy;"&gt;tabulate&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygons&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil&amp;nbsp;Soil.Material&amp;quot;&lt;/span&gt;
&lt;span style="color:navy;"&gt;_setmaterial&lt;/span&gt; &lt;span style="color:navy;"&gt;(Soil_3)&lt;/span&gt; &lt;span style="color:navy;"&gt;SoilMat_1&lt;/span&gt;
&lt;span style="color:navy;"&gt;tabulate&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygons&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil&amp;nbsp;Soil.Material&amp;quot;&lt;/span&gt;
&lt;span style="color:navy;"&gt;tabulate&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygons&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil&amp;nbsp;Soil.Material&amp;quot;&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil.Material&amp;lt;&amp;gt;&amp;quot;&lt;/span&gt;
&lt;span style="color:navy;"&gt;tabulate&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygons&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil&amp;nbsp;Soil.Material&amp;quot;&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil.Material=&amp;quot;&lt;/span&gt;
&lt;span style="color:navy;"&gt;groupfiltered&lt;/span&gt; &lt;span style="color:navy;"&gt;Polygons&lt;/span&gt; &lt;span style="color:blue;font-style:italic;"&gt;&amp;quot;Soil.Material=&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613162?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 09:56:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dcc3ac80-0e50-4bb0-bdd3-8b8f4344fe94</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;You are most welcome!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613161?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 09:54:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e515cbda-1a00-4cb8-92ea-3d1654d89a1c</guid><dc:creator>Rushan Gizzatullin</dc:creator><description>&lt;p&gt;Dear &lt;strong&gt;Stefanos&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;Wow, it is perfect! &lt;br /&gt;Great thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613159?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 09:52:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f6a3a911-a131-4af6-8e65-5986bb851f1a</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Then, the powerful command &lt;em&gt;tabulate&lt;/em&gt; comes in handy:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;tabulate Group_1 &amp;quot;Parent&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613144?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 08:30:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:61a8fef3-6869-4124-a54c-b1818c6a3832</guid><dc:creator>Rushan Gizzatullin</dc:creator><description>&lt;p&gt;Dear &lt;strong&gt;Stefanos&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;Thank you very much for a quick reply.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;echo Group_1[0].Parent&lt;/em&gt;&amp;nbsp;is a good variant for one item.&lt;/p&gt;
&lt;p&gt;But what can we do if we have more items in the Group?&lt;br /&gt;For example, I have a project with three &amp;laquo;empty&amp;raquo; Soils:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1602145565429v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I use&amp;nbsp;&lt;em&gt;echo Group_1[0].Parent&lt;/em&gt; I will get only the first one (because of [0]):&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1602145672636v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Could you please inform me whether it is possible to get polygons number for all items in Group_1?&lt;/p&gt;
&lt;p&gt;The only way I know is to copy all names from Group_1 (from right button click menu) and use &lt;em&gt;echo&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1602145768590v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: All polygons without material</title><link>https://communities.bentley.com/thread/613133?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 07:32:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:39bdf948-d3ff-47ad-9cde-f9f81b2429f2</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Rushan,&lt;/p&gt;
&lt;p&gt;You have correctly found that it is the &lt;em&gt;Soils&lt;/em&gt; object that contains the &lt;em&gt;Material&lt;/em&gt; property and not the &lt;em&gt;Polygons&lt;/em&gt;. So, indeed the command should work correctly when using the &lt;em&gt;Soils&lt;/em&gt; object.&lt;/p&gt;
&lt;p&gt;In the &lt;em&gt;Model explorer&lt;/em&gt; you should get a new group, e.g. &lt;em&gt;Group_1&lt;/em&gt; that contains that &lt;em&gt;Soil&lt;/em&gt; object that means your criteria. If you click on the group or its contents the object should be highlighted in red and also shown in the &lt;em&gt;Selection&lt;/em&gt; &lt;em&gt;explorer&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;If you want to know to which polygon this belongs, you can use the &lt;em&gt;echo&lt;/em&gt; command in the following way:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;echo Group_1[0].Parent&amp;nbsp;&lt;/em&gt; # this will give the first item of the &lt;em&gt;Group_1&lt;/em&gt;; this can also be called &lt;em&gt;Groups[-1][0]&lt;/em&gt; using indexing&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1602142195028v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>