<?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>Jim Turner's Activities</title><link>https://communities.bentley.com/members/42a334e0_2d00_d550_2d00_4cd6_2d00_ba75_2d00_98ec19fb699f</link><description>Jim Turner's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>[Web services gateway] Get document path</title><link>https://communities.bentley.com/products/programming/projectwise_programming/f/projectwise-programming---forum/175845/web-services-gateway-get-document-path</link><pubDate>Thu, 28 Feb 2019 14:28:46 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9561aa85-ac2b-4615-bb3d-b0f1449d84d3</guid><dc:creator>Oto</dc:creator><description>&lt;p&gt;How to retrieve document path using Projectwise web services gateway?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Reprojection Settings - Display Errors to Message Center</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/173881/reprojection-settings---display-errors-to-message-center</link><pubDate>Fri, 18 Jan 2019 10:20:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f75b0985-f56a-4371-971c-f3456d9d00ac</guid><dc:creator>Oto</dc:creator><description>&lt;p&gt;According to this wiki &lt;a href="/products/microstation/w/microstation__wiki/8950/reprojection-setting"&gt;https://communities.bentley.com/products/microstation/w/microstation__wiki/8950/reprojection-setting&lt;/a&gt; there should be option to display error messages when using reprojection.&lt;/p&gt;
&lt;p&gt;I do not see such setting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Export-PWDocuments without non-admin right?</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/192132/export-pwdocuments-without-non-admin-right</link><pubDate>Fri, 07 Feb 2020 10:07:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e04c3d33-7b13-4e68-aca1-6c52f3724438</guid><dc:creator>Bj&amp;#246;rn Johansson</dc:creator><description>&lt;p&gt;Cmdlet Export-PWDocuments (and similar cmdlets for exporting and reading docs) should be accessible for report-only logins (users running the cmdlets by the Non-Admin). Why do you need have admin rights to export files in PowerShell?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Enhancement request: saved search option for Get-PWDocumentsBySearchWithReturnColumns</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/191688/enhancement-request-saved-search-option-for-get-pwdocumentsbysearchwithreturncolumns</link><pubDate>Tue, 28 Jan 2020 14:29:49 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2d992c9c-5f87-4cd4-8e27-8855cfe9b8b9</guid><dc:creator>Jim Turner</dc:creator><description>&lt;p&gt;The cmdlet &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Get-PWDocumentsBySearchWithReturnColumns&lt;/span&gt; is much faster and much more performant to retrieve (known) attribute values than the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Get-PWDocumentsBySearch -GetAttributes&lt;/span&gt; method.&amp;nbsp; As such when retrieving large numbers of documents it becomes the de facto standard method.&lt;/p&gt;
&lt;p&gt;Can the same search options be added to the&amp;nbsp;&lt;span&gt;Get-PWDocumentsBySearchWithReturnColumns cmdlet as available to the Get-PWDocumentsBySearch cmdlet?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Specifically please add the&amp;nbsp;saved search (-SearchName &amp;lt;string&amp;gt;) and spatial parameters (-LatitudeMin &amp;lt;double&amp;gt; etc.) to&amp;nbsp;Get-PWDocumentsBySearchWithReturnColumns.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Geographic coordinate system missing</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/148712/geographic-coordinate-system-missing</link><pubDate>Sat, 24 Mar 2018 15:50:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d53798f0-3138-460a-b816-3c00f832bd72</guid><dc:creator>Eurico Inacio</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently working in a big railway project that uses a bespoke GCS.&lt;/p&gt;
&lt;p&gt;I was following a forum post that&amp;nbsp;explaining how to create a transformation. In the process the seed file &amp;quot;UserOverrideGeodeticTransformSeed.asc&amp;quot; needed to be altered.&lt;/p&gt;
&lt;p&gt;The heading of the file contain the following text:&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;&amp;quot;# In case of absolute necessity it is possible to override the list or&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;# order of the grid shift files for a specific datum transformation.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;# This should only be done if no other solution is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;# Bentley Systems would be glad to introduce new files directly&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;# referenced by the built-in system dictionary as part of a refresh to&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;color:#00ccff;font-size:150%;"&gt;# its software. Contact Bentley system through the normal support channel.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;As you can imagine this new&amp;nbsp;GCS&amp;nbsp;is a big headache with all the legacy data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;Is there anyone in the position to help?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;Thank you in advance for your time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;font-size:inherit;"&gt;Eurico&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ProjectWise WSG: how to run a spatial query</title><link>https://communities.bentley.com/products/programming/projectwise_programming/f/projectwise-programming---forum/177251/projectwise-wsg-how-to-run-a-spatial-query</link><pubDate>Wed, 27 Mar 2019 15:32:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9f8dcbdd-3632-43f6-beca-f64e329724ca</guid><dc:creator>Jim Turner</dc:creator><description>&lt;p&gt;According to the WSG policies (Policies/PolicyAssertion/Persistence.SpatialQueries) it states that spatial queries are supported, along with the polygon type and the operator &amp;#39;Intersects&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The WSG documentation also describes the use of WKT geometry and use of the intersects operation.&amp;nbsp; I have tried to build a query but I can&amp;#39;t find anything that works in the place of the &lt;span style="color:#ff6600;"&gt;[***]&lt;/span&gt;&amp;nbsp;string:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Repositories/[PWREP]/PW_WSG/Document?$filter=geometry&amp;#39;POLYGON((-1.24933 52.1257,-1.24398 52.1256,-1.24392 52.1296,-1.24926 52.1296,-1.24933 52.1257))&amp;#39;+intersects+&lt;span style="color:#ff6600;"&gt;[***]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In practice how does one use spatial queries? I&amp;#39;m using API v2.5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Let me Help You</title><link>https://communities.bentley.com/achievements/687f4b6d-e18a-4e55-836c-49926ca2c9d9</link><pubDate>Tue, 12 Mar 2019 02:56:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:62b24bd1-44db-49b8-9372-dfb79100ee0f</guid><dc:creator /><description>Answer a question that is verified as helpful or correct.</description></item><item><title>New-PWDocumentVersion - database deadlock error?</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/174054/new-pwdocumentversion---database-deadlock-error</link><pubDate>Tue, 22 Jan 2019 15:19:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a8001d53-252c-4ca3-9778-709734b4a59b</guid><dc:creator>Jim Turner</dc:creator><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have a script to synchronize files in a server folder with documents in a ProjectWise folder.&amp;nbsp; &amp;nbsp;I have several thousands of documents to sync so I have &amp;#39;powershelled&amp;#39; the task.&lt;/p&gt;
&lt;p&gt;One of my commands is to create a new document version:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Get-PWDocumentsBySearch -FolderPath $pwfolder -FileName $theFile&amp;nbsp; | New-PWDocumentVersion -VersionString $verString | Out-Null&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;This will happily run for long periods of time, and then fall over for no apparent reason:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;New-PWDocumentVersion : Error changing document &amp;#39;FILENAME&amp;#39; to new &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;version. Error creating new version of document.At SCRIPTNAME1:548 char:97&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;+ ... e $theFile | New-PWDocumentVersion -VersionString $verString | Out-N ...&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; + CategoryInfo : NotSpecified: (Version:String) [New-PWDocumentVersion], Exception&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; + FullyQualifiedErrorId : ErrorID: Database transaction deadlock error.,PWPS_DAB.NewPWDocumentVersion&lt;/span&gt;&lt;br /&gt; &lt;/p&gt;
&lt;p&gt;What is a &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;database transaction deadlock error&lt;/span&gt; and how to prevent it?&amp;nbsp; For the record, the $verString is set to &amp;quot;P02&amp;quot; and the previous version is &amp;quot;P01&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks for any help.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>New-PWDocumentVersion Error/Exception Handling</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/169795/new-pwdocumentversion-error-exception-handling</link><pubDate>Tue, 23 Oct 2018 13:09:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a82f37b3-9d7b-49ed-be61-f96f2cc71d32</guid><dc:creator>Jim Turner</dc:creator><description>&lt;p&gt;I am using&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;New-PWDocumentVersion&lt;/span&gt; cmdlet as part of a script to synchronize DGN files on a server drive with the respective holdings on ProjectWise.&lt;/p&gt;
&lt;p&gt;To deal with problems and exceptions in my script I have the following set:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;$ErrorActionPreference = &amp;quot;Stop&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;$WarningPreference = &amp;quot;Inquire&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The basic process involves creating a new version and uploading&amp;nbsp;the PW document if the server file is more up-to-date than the PW file.&amp;nbsp; I create new versions like such and then update the file:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Get-PWDocumentsBySearch -FolderPath $pwfolder -FileName $theFile&amp;nbsp; | New-PWDocumentVersion -VersionString $verString | Out-Null&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Get-PWDocumentsBySearch -FolderPath $pwfolder -FileName $theFile&amp;nbsp; | Update-PWDocumentFile -NewFilePathName $newfile | Out-Null&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For an unexplained reason the&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;New-PWDocumentVersion&lt;/span&gt;&lt;span&gt;&amp;nbsp;cmdlet&amp;nbsp;&lt;/span&gt;is failing, with the following text written to screen:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Error changing document &amp;#39;\path\xxx.dgn&amp;#39; to new version&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The reason for the error is not clear and I&amp;nbsp;am so far unable to&amp;nbsp;recreate it consistently.&amp;nbsp; Most distressingly however, because the error is not raised as a normal Powershell exception, the script blithely continues and actually overwrites the document of the previous version.&lt;/p&gt;
&lt;p&gt;Please can the cmdlet be updated to raise exceptions correctly?&amp;nbsp; Actually&amp;nbsp;I&amp;#39;ve also noted this on other cmdlets too, including&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Update-PWDocumentAttributes, &lt;span style="font-family:arial, helvetica, sans-serif;"&gt;therefore this request can be opened up to all cmdlets&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Tue, 23 Oct 2018 01:58:19 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bbaaeaac-20e0-49a8-9071-546af086df9c</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>