<?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>Changing properties of multiple connections with Python</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/227953/changing-properties-of-multiple-connections-with-python</link><description>Hi, 
 How can I change connection properties of multiple connections using a loop? 
 For e.g. I can change property of a single connection as : g_i.Connection_1.Translation1 = &amp;quot;Free&amp;quot; 
 Thank you in advance, 
 Kind regards, Omkar.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Changing properties of multiple connections with Python</title><link>https://communities.bentley.com/thread/704854?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:59:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4ba2c59c-3dcf-4d8d-bdeb-3cd8ee97fa73</guid><dc:creator>Omkar Sugade</dc:creator><description>&lt;p&gt;Thank you so much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing properties of multiple connections with Python</title><link>https://communities.bentley.com/thread/704853?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:52:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:312e601d-769e-46e3-a1cb-92fd359635f3</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Omkar,&lt;/p&gt;
&lt;p&gt;The connections are part of the &lt;em&gt;Connections&lt;/em&gt; group object, which behaves like a Python list, and you can do a for-loop over them:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;for connection in g_i.Connections:&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;connection.Translation1 = &amp;quot;Free&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>