<?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>Simone Padovan's Activities</title><link>https://communities.bentley.com/members/406daa84_2d00_8bd5_2d00_4402_2d00_bfb8_2d00_e28ec40f48d9</link><description>Simone Padovan's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>PSDS to OpenPlant V8i migration and HVAC components</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/221237/psds-to-openplant-v8i-migration-and-hvac-components</link><pubDate>Mon, 25 Oct 2021 09:23:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6f95965d-4577-4c98-802c-85a86f83877a</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;we&amp;#39;re migrating some dgn files from PSDS to OpenPlant V8i application. For piping components the procedure create weld joints and the pipe line is&amp;nbsp;entirely connected.&amp;nbsp;This is not true for HVAC components that are all not connected. My question is,&amp;nbsp;is there any problem in the components itself or the migration procedure does not create joints for HVAC ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks all for answers. Regards,&lt;/p&gt;
&lt;p&gt;Simone&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>IBMECObject.GetDoubleValue api is no longer available from Bentley.Building.Mechanical.Components</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/213399/ibmecobject-getdoublevalue-api-is-no-longer-available-from-bentley-building-mechanical-components</link><pubDate>Mon, 03 May 2021 13:20:18 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0c4f4dfe-6c32-4529-ae44-eef9e99cecce</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi community,&lt;/p&gt;
&lt;p&gt;we&amp;#39;re upgrading C# code for OPM V8 SS5 edition to OPM CE (upgrade 9). The&amp;nbsp;IBMECObject.GetDoubleValue method is no longer available and there are some others&amp;nbsp;the gets values&amp;nbsp;in specific unit (ie &lt;span&gt;GetDoubleValue&lt;/span&gt;InMM, &lt;span&gt;GetDoubleValue&lt;/span&gt;InUors, &lt;span&gt;GetDoubleValue&lt;/span&gt;InDegrees and so on). Because our software works in millimeter I thought that the right choose was&amp;nbsp;GetDoubleValueInMM but these methods doesn&amp;#39;t always work, i.e. return 0&amp;nbsp;even if the property has another value or the property does not exist in the EC class but 0 is a valid value in some context yet. I&amp;#39;ve also tried GetUnitlessDoubleValue and works better than&amp;nbsp;&lt;span&gt;GetDoubleValueInMM but not well yet. After further searches I found an indexer method&amp;nbsp;in&amp;nbsp;IECInstance.this[string property.] By it all seems to work well and so the question is: is it valid use the indexer instead of the GetDoubleValueXXX method ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here an example:&lt;br /&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;// Old code:
// var val = _bmECObject.GetDoubleValue(&amp;quot;EC class property name&amp;quot;);

// New code
var val = _bmECObject.Instance[&amp;quot;EC class property name&amp;quot;].DoubleValue&lt;/pre&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;More over the indexer throw an exception if the EC class has not the property and this is better than a 0 value. Another point is, does anyone can explain me the logic behind the GetDoubleValueXXX methods ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you all in advance,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simone&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>OPPA CE update 9 crash !!</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/212547/oppa-ce-update-9-crash</link><pubDate>Wed, 14 Apr 2021 09:53:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fd8043ea-d666-4075-9180-bc519e76ea15</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi community,&lt;/p&gt;
&lt;p&gt;on my Window 10 workstation I&amp;#39;ve installed OPM CE update 9 and&lt;span&gt;&amp;nbsp;OPPA CE update 8. Launching OPPA it crash. I&amp;#39;ve tried&amp;nbsp;to reinstall all CE programs, cleaning first&amp;nbsp;all the files from Appdata, program files, and from&amp;nbsp; Program data,&amp;nbsp;but it seem not to have worked. I&amp;#39;ve also clean manually the registry, but nothing. The problem seems to be related to the OPM configuration files parsing: in fact if I remove the cfg files under&amp;nbsp;&lt;em&gt;C:\ProgramData\Bentley\OpenPlant CONNECT Edition\Configuration\Workspaces&amp;nbsp;&lt;/em&gt;&lt;/span&gt;the program starts well but obviously I&amp;#39;m not able to see the any workspace. Looking in the events registry, the problem is an unhandled exception in &lt;em&gt;Bentley.DgnPlatform.MacroConfigurationAdmin.DefineMacro.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The previous OPPA product update 8 version remains in hang as I wrote&amp;nbsp;&lt;a href="/products/plant/f/autoplant-axsys-openplant-plantwise-forum/212321/oppa-ce-update-8-remains-in-hang" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Can anyone help me ? Thank you in advance.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Simone&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5927/7875.OPPA.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5927/4130.OPPA.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>OPPA CE update 8 remains in hang</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/212321/oppa-ce-update-8-remains-in-hang</link><pubDate>Fri, 09 Apr 2021 13:19:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1b23b530-2d4a-4e20-aa2f-3f9575974b76</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi community,&lt;/p&gt;
&lt;p&gt;on my Window 10 workstation I&amp;#39;ve installed OPM CE update 8,&amp;nbsp;&lt;span&gt;OPIM CE update 8 e&amp;nbsp;OPPA CE update 8. When I launch OPPA it stays in hang and the only choose is to kill its process. I&amp;#39;ve tried&amp;nbsp;to reinstall all the CE programs but it seem not to have worked. The problem seems to be related to the OPM configuration files parsing: in fact if I remove the cfg files under &lt;em&gt;C:\ProgramData\Bentley\OpenPlant CONNECT Edition\Configuration\Workspaces&amp;nbsp;&lt;/em&gt;&lt;/span&gt;the program starts well but obviously I&amp;#39;m not able to see the any workspace. Moreover if I try to create a new workspace the application hangs again.&lt;/p&gt;
&lt;p&gt;Can anyone help me ? Thank you in advance.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Simone&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="267" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5927/OPPA.png" width="405" /&gt;&lt;/p&gt;
&lt;p&gt;PS: CONNECTED POST FOR UPDATES 9 PRODUCT THAT CRASH &lt;a href="/products/plant/f/autoplant-axsys-openplant-plantwise-forum/212547/oppa-ce-update-9-crash" rel="noopener noreferrer" target="_blank"&gt;HERE&lt;/a&gt;!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Something about DMPWClient and KNCore dlls ?</title><link>https://communities.bentley.com/products/programming/projectwise_programming/f/projectwise-programming---forum/207540/something-about-dmpwclient-and-kncore-dlls</link><pubDate>Fri, 18 Dec 2020 08:40:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:eb2821a9-71be-47b1-8198-2516d15b1e90</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found under ProjectWise\bin directory some Net dll like these in the subject that seems to be very useful for ProjectWise programming. Anyone has some information about these ?&lt;/p&gt;
&lt;p&gt;Thank you to all.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Simone&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, 15 Dec 2020 02:13:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c09b3b21-b617-47c4-91a4-04365419240c</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Any example in using aaApi_FindDocuments2 api in C# ?</title><link>https://communities.bentley.com/products/programming/projectwise_programming/f/projectwise-programming---forum/207365/any-example-in-using-aaapi_finddocuments2-api-in-c</link><pubDate>Tue, 15 Dec 2020 08:11:37 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c6dc4ab0-7b4e-47fd-adc4-ee69219b1574</guid><dc:creator>Simone Padovan</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new in Microstation / ProjectWise programming and I&amp;#39;m searching for an example about using of aaApi_FindDocuments2 api in C# because I&amp;#39;ve some problem in parameters Marshaling. I&amp;#39;ve seen &amp;quot;MostODaveClasses.cs&amp;quot; where is implemented&amp;nbsp;DocumentRequestColumns,&amp;nbsp;DocumentProperties_stc structs and so on. My goal is select some document by a saved searched to gets its attributes after. All works well, until the call to aaApi_FindDocuments2 that throw an exception about memory corruption: I suspect that is the marshaling of this struct since the C++ method gets an union type. This is the code:&lt;/p&gt;
&lt;p&gt;// The callback...&lt;/p&gt;
&lt;p&gt;PwWrapper.HandlerFindDocuments2 dd = delegate (int reason, ref PwWrapper._FINDDOC_RESULTS result, IntPtr userData)&lt;br /&gt; {&lt;br /&gt; return true;&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;bool cancel = false;&lt;/p&gt;
&lt;p&gt;// The column requested: I&amp;#39;ve not understood the logic, I would like to retrieve all columns&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;var wantedColumns = new PwWrapper.CompactPropertyReference[]&lt;br /&gt; {&lt;br /&gt; new PwWrapper.CompactPropertyReference()&lt;br /&gt; {&lt;br /&gt; guidPropertySet = PwWrapper.PSET_DOCUMENT_GENERIC, sPropertyName = &amp;quot;&amp;quot;, uiResultType = 0, uiPropertyID = 0&lt;br /&gt; },&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;var properties = new PwWrapper.DocumentProperties_stc&lt;br /&gt; {&lt;br /&gt; eResultFlags = PwWrapper.QueryResultFlags.NoDocVersions, // QRY_RESULT_NO_DOC_VERSIONS I&amp;#39; don&amp;#39;t know what is the meaning of this&lt;br /&gt; sProperty = wantedColumns,&lt;br /&gt; uiPropertyCount = (uint)wantedColumns.Length,&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;var request = new PwWrapper.DocumentRequestColumns();&lt;br /&gt; request.padding = new byte[120];&lt;br /&gt; request.properties = new PwWrapper.DocumentProperties_stc&lt;br /&gt; {&lt;br /&gt; sProperty = wantedColumns,&lt;br /&gt; eResultFlags = PwWrapper.QueryResultFlags.NoDocVersions, // QRY_RESULT_NO_DOC_VERSIONS&lt;br /&gt; uiPropertyCount = (uint)wantedColumns.Length&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;var tre = PwWrapper.aaApi_FindDocuments2(criteriaBuffer, request, dd, IntPtr.Zero, true, ref cancel, 0, 0);&lt;/p&gt;
&lt;p&gt;Any help is welcome. Thank you in advance.&lt;/p&gt;
&lt;p&gt;Simone&lt;/p&gt;
&lt;p&gt;PS: ProjectWise is V8i Select Series 4&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>