<?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>ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/products/road___site_design/f/geopak-inroads-mx-openroads-forum/169407/ord-sync-all-template-drops-macro</link><description>Hi all, 
 
 Because I couldn&amp;#39;t wait for an out-of-the-box &amp;quot;synchronise all templates&amp;quot; functionality in ORD, I have put together an mvba that crudely will synchronise all or just edited in-place Template Drops and Linear Templates. It seems to work quite</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/749354?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 21:59:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ec1904eb-de6f-47bd-8c69-c27acb742f54</guid><dc:creator>Bob Paxton</dc:creator><description>&lt;p&gt;There is a key in for Surface Templates or Process Corridors, but I don&amp;#39;t believe there is one for syncing templates. Load Macro and select one of these. One is for corridors templates; the other is for linear templates. Run it.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5922/pastedimage1673647090574v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/749351?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 21:42:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:75fc0b78-9b43-48eb-bd42-27a356ec8464</guid><dc:creator>Edward Garza</dc:creator><description>&lt;p&gt;Is there a keyin to make this run?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/728915?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 17:08:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d4f81ef2-ef4e-496d-a5a6-97717b3e61c0</guid><dc:creator>Bob Paxton</dc:creator><description>&lt;p&gt;Thanks Mark!&lt;/p&gt;
&lt;p&gt;It worked for us on ProjectWise. We have a huge number of driveways, using multiple files, on our current project using civil cells and needed to sync all the linear templates. Really saved us a bunch of time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are on the current release. ORD 10.10.23.15&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703611?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:14:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c95865a6-9ade-4459-a192-dcf1aab011b2</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Its not those ones (the Template Drop ones). Its the actual Corridor/Linear Template ones (the ones you select to access Corridor Objects, etc.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703610?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:13:17 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:678a8ac9-b256-4be9-a8c0-520a531b5433</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;yeah, you may have Linear Templates with no Template Drops (that were deleted). They should be the same ones you see in Explorer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703589?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 11:11:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e771ba8d-dd5e-4f57-a14b-97c4fec80497</guid><dc:creator>Shayne Gillespie</dc:creator><description>&lt;p&gt;these handles exist...&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/pastedimage1648466167640v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703586?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 11:08:37 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:10348fdf-3d60-4cee-9669-2a7a7f94a6f9</guid><dc:creator>Shayne Gillespie</dc:creator><description>&lt;p&gt;OK....been thinking....it found 182, but reality says only 101 elements....does that mean there is some trash sitting somewhere in the dgn? How do i dispose of it? Have compressed the dgn. Cheers for the reply btw....&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/pastedimage1648465945178v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703414?ContentTypeID=1</link><pubDate>Sun, 27 Mar 2022 09:31:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:aeacee15-93bd-4047-8e20-ef644575f4a4</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;hmm it uses the actual &amp;quot;Corridor&amp;quot; handles of the Corridor/Linear Template (and not the Template Drop itself) - could that be the issue? Looks like the Corridor handles are not displayed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703178?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 07:43:33 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5a01e715-f65c-4c53-8e8b-96d5f862771b</guid><dc:creator>Shayne Gillespie</dc:creator><description>&lt;p&gt;Mark, Thanks for the snappy reply. Seems the handles are visible. These are all linear templates. All the levels are displayed for the 2d window. &amp;#39;construction&amp;#39; attribute is on.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/pastedimage1648193882061v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703176?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 07:31:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8da8c3cd-aed1-4975-a4a6-4e3ea0fa6fe3</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;yep, perhaps the corridor handle levels are turned off? It gets those vertices to simulate a manual click.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/703175?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 07:27:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:438f862d-5d36-4f08-90dd-95d2a0674b19</guid><dc:creator>Shayne Gillespie</dc:creator><description>&lt;p&gt;Mark,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Almost got it working...counts up the number of linear templates, but stops where it is trying to count up maybe the vertices of each element??&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/pastedimage1648192630626v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;but the code stops here&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/pastedimage1648192701938v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have got a couple of &amp;#39;watch&amp;#39; items on and seems to be populating those, but there are no vertices to be found, or the variable it is looking for has changed location????&lt;/p&gt;
&lt;p&gt;oVertexList = oElement.&lt;strong&gt;ConstructVertexList&lt;/strong&gt;(0)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I couldnt find any vertices in the watch window for the &amp;#39;oElement&amp;#39; and dug down a few levels of information.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any assistance would be super.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SG&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/672395?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 06:38:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:47909b69-2155-4bae-a818-6b6ed809deb0</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can use the&amp;nbsp;&lt;em&gt;&lt;strong&gt;terrainmodel template update &lt;/strong&gt;&lt;/em&gt;keyin to sync a surface template with one click. Unfortunately I do not know of a way to update them all in one process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/672386?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 04:42:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:55d63d4a-27c4-472d-826f-e1e1c83f3a32</guid><dc:creator>Siva Allam</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;does this macro works for surface templates?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I got more than 200 terrains which got surface templates and its not easy to go to every surface template and sync.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/643813?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 11:00:58 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:776f709f-51bd-42cd-ae37-b2a0bb4e1863</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Sure, in the meantime, you can remove the scan criteria for this by deleting the lines that includes the term classes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Template Drops Macro</title><link>https://communities.bentley.com/thread/643809?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 10:39:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:40b2eb42-e89f-4867-a241-413285bcf0fc</guid><dc:creator>Merlijn van Beurden</dc:creator><description>&lt;p&gt;That is indeed it. Changing the the class to construction was enough to make V2.1 work. Is it possible to make a version that works for all classes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/643795?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:37:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:84d93b86-df0d-4991-b7bc-ef9ba38fd1d0</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;maybe your Template Drops aren&amp;#39;t on Construction class? To keep scan time down for large models it only scans elements on Construction class (as they are by default in the delivered Feature Definitions)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/643791?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:27:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7e71e11b-46d0-403f-b954-becde2091f7e</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Merlijn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have just updated the zip in the original post to reflect the latest version. Changes include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;only processes visible Corridors / Linear Templates - allows for filtering by Level for example&lt;/li&gt;
&lt;li&gt;Synchronises per Corridor instead of per Template Drop (since added functionality in 2020 Release 1).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure what issue you were having, but hopefully fixed in this version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/643788?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:02:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7941f4d6-cd88-493d-8a3f-1c282b808383</guid><dc:creator>Merlijn van Beurden</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I am. There are multiple corridors with template drops, so it should work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Merlijn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/643787?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 08:58:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:488ffac8-5c4e-40f4-86aa-6c56458b6047</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Merlijn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you in the 2d model where the corridors are?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/643779?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 08:23:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:23a1b585-1f08-4f91-9d6d-56f7a87a2147</guid><dc:creator>Merlijn van Beurden</dc:creator><description>&lt;p&gt;Thanks, this can be a great tool! However, I get the following error message:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5922/2021_2D00_04_2D00_09-10_5F00_22_5F00_21_2D00_pw_5F005F005F00_sweco_2D00_pw.bentley.com_5F00_sweco_2D00_pw_2D00_02_5F00_Documents_5F00_NL_2D00_TR_5F00_510_5F00_370610_2D00_A9-BaHo_5F00_Highway.png" /&gt;&lt;/p&gt;
&lt;p&gt;Any idea how to solve this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/630399?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 21:45:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0981367d-749d-4673-8929-e53e2b999e7a</guid><dc:creator>JeremieDL</dc:creator><description>&lt;p&gt;Thanks Mark for this very nice tools!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/573462?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 14:57:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b1b81027-c5b3-4660-a23e-66328d236b0f</guid><dc:creator>Dick Chng</dc:creator><description>&lt;p&gt;Hi Mark, thanks for the prompt response. I&amp;#39;m not very familiar with VBA at this point so I probably won&amp;#39;t be able to do much with it but appreciate you letting me know!&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s hoping that we&amp;#39;ll get to OR eventually&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/573344?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 07:19:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6ca13673-a63f-47ea-81c2-5cb983a88b48</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Dick,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately only ORD at this stage, although it could be modified to work on the older OR SS4-10 versions with some minor changes. Although I&amp;#39;m not bothering with the legacy versions, I&amp;#39;ll see if I can post a guide to changes required for you to update it if you know your way around VBA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/573339?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 06:57:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:23dd3eb0-eb00-479c-b82f-606bde162af4</guid><dc:creator>Mark Marnell</dc:creator><description>&lt;p&gt;I believe this is a purely ORD tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ORD Sync All Templates mvba</title><link>https://communities.bentley.com/thread/573265?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 23:12:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c6e93302-59a5-40c4-a0a3-730fcaded5b7</guid><dc:creator>Dick Chng</dc:creator><description>&lt;p&gt;I wonder if I&amp;#39;m using this incorrectly but after loading the project in VBA project manager, no macro is being listed? Or does this only work in OR? I am using Geopak SS10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>