<?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>Ken Adams's Activities</title><link>https://communities.bentley.com/members/e6ebdcf5_2d00_5d05_2d00_4c8c_2d00_8b5a_2d00_69d54e5fbe9b</link><description>Ken Adams's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Is the any API&amp;#39;s or SDK for Cloud/Web services?</title><link>https://communities.bentley.com/communities/other_communities/licensing_cloud_and_web_services/f/forum/242506/is-the-any-api-s-or-sdk-for-cloud-web-services</link><pubDate>Mon, 06 Mar 2023 19:08:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dcf25611-b01a-41f5-a426-22b7ec0af79b</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;Is there any way to programatically check to see if somebody has registered with Bentley?&lt;/p&gt;
&lt;p&gt;For the time being we are still using MicroStation SS3 which does not require you to register. If I could check if a user was registered&amp;nbsp;programatically I could required registration.&lt;/p&gt;
&lt;p&gt;is there any way to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question II</title><link>https://communities.bentley.com/achievements/cd3cd235-25c1-476e-bb88-33a5705ca45a</link><pubDate>Wed, 27 Jul 2022 12:51:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6f481e3c-6525-4dae-8a1f-1c33b7227430</guid><dc:creator /><description>Ask 10 questions in a forum.</description></item><item><title>Port SS3 MDL to CONNECT or rewrite in VBA</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/233184/port-ss3-mdl-to-connect-or-rewrite-in-vba</link><pubDate>Wed, 27 Jul 2022 12:51:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fdf4f7fb-8dde-4553-886d-4503f437ce72</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I understand this will depend on the type of program, but in general for element placement and manipulation tools, is it better to port SS3 MDL code to CONNECT, or rewrite them with VBA. Is there any criteria I can use to inform me of what path to go down?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>SS3 defintion SYNONYMID_WorkingUnitItems not defined in CONNECT</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/228832/ss3-defintion-synonymid_workingunititems-not-defined-in-connect</link><pubDate>Fri, 22 Apr 2022 20:25:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6bf41357-59ec-4730-879e-1fedb52b11d7</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I am converting SS3 code that modifies working units and grid units using &lt;span&gt;mdlModelRef_setWorkingUnits and&amp;nbsp;&lt;/span&gt;mdlParams_setActive. In CONNECT, ActiveParams::SetValue looks like it works in a similar way.&lt;/p&gt;
&lt;p&gt;As a final step I am running&amp;nbsp;mdlDialog_synonymsSynch(0,SYNONYMID_WorkingUnitItems,NULL ); to get the working units dialog to reflect the changes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;em&gt;status = mdlModelRef_setWorkingUnits (modelRef, &amp;amp;newMasterUnits, &amp;amp;newSubUnits);&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;mdlParams_setActive((void *)gridref, ACTIVEPARAM_GRIDREF);&lt;/em&gt;&lt;br /&gt;&lt;em&gt; mdlParams_setActive(&amp;amp;gridunits, ACTIVEPARAM_GRIDUNITS);&lt;/em&gt;&lt;br /&gt;&lt;em&gt; mdlParams_setActive(&amp;amp;unitrndoff, ACTIVEPARAM_UNITROUNDOFF);&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;mdlDialog_synonymsSynch(0,SYNONYMID_WorkingUnitItems,NULL );&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In SS3 in dlogids.h, &lt;strong&gt;SYNONYMID_WorkingUnitItems&lt;/strong&gt;&amp;nbsp;is defined as:&amp;nbsp;&lt;/span&gt;&lt;span&gt;#define SYNONYMID_WorkingUnitItems&amp;nbsp; &amp;nbsp; &amp;nbsp; (BASEID_WorkingUnits-1)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;SYNONYMID_WorkingUnitItems&lt;/strong&gt; is not defined in CONNECT.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there a way to sync up the working unit dialog? Maybe it is not necessary anymore? I have not finished porting the code so I can&amp;#39;t verify how it works yet. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am inclined to just comment out that mdlDialog_synonymsSynch line for now and revisit it after my application is up and running.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>TextEDParam compile error in CONNECT works in SS3</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/228496/textedparam-compile-error-in-connect-works-in-ss3</link><pubDate>Fri, 15 Apr 2022 18:54:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:25082edb-016a-4788-b38b-51c82bbeb82c</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I have a function in SS3 that accepts a pointer to a TextEDParam structure.&lt;/p&gt;
&lt;p&gt;In CONNECT, I added the include file&lt;/p&gt;
&lt;p&gt;#include &amp;lt;DgnPlatform\TextParam.h&amp;gt;&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;include file looks like it defines TextEDParam.&amp;nbsp;&lt;span&gt;(in SS3 it was defined in mdl.h)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Yet for this function:&lt;/p&gt;
&lt;p&gt;Public nativeCode void fplcom_justTxtToEditField(&lt;em&gt;&lt;strong&gt;TextEDParam *edParam&lt;/strong&gt;&lt;/em&gt;);&lt;/p&gt;
&lt;p&gt;I am getting this compiler error:&amp;nbsp;error C2065: &amp;#39;TextEDParam&amp;#39;: undeclared identifier&lt;/p&gt;
&lt;p&gt;Any idea what is going wrong here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to compile CONNECT examples in Visual Studio 2019</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/228465/how-to-compile-connect-examples-in-visual-studio-2019</link><pubDate>Thu, 14 Apr 2022 20:56:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6646056a-e620-4f2f-9d8e-b09151a7f884</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I can compile all examples in the CONNECT SDK in the developer shell. Now I am trying to open the solutions in Visual Studio 2019 and compile inside VS.&lt;/p&gt;
&lt;p&gt;I made a copy of&amp;nbsp;MicroStationDeveloperShell.bat and added this line at the end so Visual Studio would open:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;quot;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe&amp;quot;&lt;/p&gt;
&lt;p&gt;When I open MyApp.sln and try to compile, I get this output:&lt;/p&gt;
&lt;p&gt;Rebuild All started: Project: MyApp, Configuration: Debug Win32 ------&lt;br /&gt;1&amp;gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(50,5): warning MSB8005: The property &amp;#39;NMakeReBuildCommandLine&amp;#39; doesn&amp;#39;t exist. Skipping...&lt;br /&gt;1&amp;gt;Done building project &amp;quot;MyApp.vcxproj&amp;quot;.&lt;br /&gt;========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========&lt;/p&gt;
&lt;p&gt;I know in SS3, had to create a solution and manually add the build Command Line in the NMake property.&lt;/p&gt;
&lt;p&gt;Since the&amp;nbsp;CONNECT examples already have solution files, I assumed this would not be necessary. Am I missing something?&lt;/p&gt;
&lt;p&gt;As a test, manually added the build Command Line&amp;nbsp;and added the mdl\include path in hte Include Directors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/3482.Capture.JPG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But this only got me so far. It is producing the mdlapps.ma file but not mdlapps.dll and I am getting many compile errors.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/7750.capture2.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Is there any example of a shared library (.dll)? No .ma file.</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/228331/is-there-any-example-of-a-shared-library-dll-no-ma-file</link><pubDate>Tue, 12 Apr 2022 16:01:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0c2072a7-9f25-4d90-856e-dae2512b6cf1</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I have a shared library (stand alone .dll file. No .ma file.) Is there any example of this in the CONNECT SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>compile error trying to convert MDL to CONNECT</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/227967/compile-error-trying-to-convert-mdl-to-connect</link><pubDate>Mon, 04 Apr 2022 19:52:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:86be373f-eb1f-4581-9cf6-2e21722f8c64</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I installed VS2019, CONNECT and its SDK and I can compile the examples without a problem..&lt;/p&gt;
&lt;p&gt;I am trying convert&amp;nbsp;an MDL from SS3 to CONNECT. It is already in .DLL form and compiles within VS in SS3.&lt;/p&gt;
&lt;p&gt;When the compiler gets to the type resource, I get this error:&lt;/p&gt;
&lt;p&gt;[== Building D:\Users\KWA0GSU\AppData\Local\Temp\Bentley\MicroStationSDK\objects\fplcmd.rsc, (D:\fpl\devStudio\fplmdl\src\fplcmd.r) ==]&lt;br /&gt;rcomp @D:\Users\KWA0GSU\AppData\Local\Temp\Bentley\MicroStationSDK\objects\make.opt&lt;br /&gt;MicroStation Resource Compiler 10.16.01&lt;br /&gt;&lt;span style="font-size:150%;"&gt;&lt;em&gt;&lt;span style="color:#993300;font-family:arial, helvetica, sans-serif;"&gt;BMAKE: no rules to build D:\Users\KWA0GSU\AppData\Local\Temp\Bentley\MicroStationSDK\objects\fpltyp.r&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;BMAKE: call trace&lt;br /&gt; line: 69, D:\fpl\devStudio\fplmdl\src\fplmdl.mke&lt;br /&gt;Mon Apr 04 15:30:20 2022, elapsed time: 0:00&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My make file looks virtually identical to the myapp.mke example that compiles without error. Does anybody have any idea what could be going wrong here?&lt;/p&gt;
&lt;p&gt;#------------------------------------------------------------------------&lt;br /&gt;# Generate command table include &amp;amp; resource file using rcomp&lt;br /&gt;#------------------------------------------------------------------------&lt;br /&gt;$(o)fplcmd.h : $(baseDir)fplcmd.r&lt;/p&gt;
&lt;p&gt;$(o)fplcmd.rsc : $(baseDir)fplcmd.r&lt;/p&gt;
&lt;p&gt;#------------------------------------------------------------------------&lt;br /&gt;# Create &amp;amp; compile the app&amp;#39;s type resource using rsctype &amp;amp; rcomp&lt;br /&gt;#------------------------------------------------------------------------&lt;br /&gt;$(o)fpltyp.r : $(baseDir)$fpltyp.mt \&lt;br /&gt; $(privateInc)fplids.h&lt;/p&gt;
&lt;p&gt;$(o)fpltyp.rsc : $(o)fpltyp.r&lt;/p&gt;
&lt;p&gt;#------------------------------------------------&lt;br /&gt;# Set up to use dlmcomp.mki and dlmlink.mki&lt;br /&gt;#------------------------------------------------&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to compile example mdl programs</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/175794/how-to-compile-example-mdl-programs</link><pubDate>Wed, 27 Feb 2019 18:19:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c9021a33-5f67-4bcc-a3b0-0f26ac14d089</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I have installed the latest Microstation Connect and SDK and am trying to compile some of the examples. Can anybody help me get this setup correctly?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="388" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1551291443844v2.png" width="307" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="204" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1551291367638v1.png" width="431" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>mdlModelRefList_getCount gives unexpected results</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/146848/mdlmodelreflist_getcount-gives-unexpected-results</link><pubDate>Fri, 09 Feb 2018 15:15:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8f3cde44-23c5-4fd0-8e62-41906acbfbcd</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I am working with Microstation SS3 and using this code:&lt;/p&gt;
&lt;p&gt;fObjP = mdlDgnFileObj_getMasterFile();&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;refListP = mdlDgnFileObj_getModelRefList(fObjP);&lt;br /&gt;modelCnt = mdlModelRefList_getCount(refListP);&lt;/p&gt;
&lt;p&gt;The results of this always return either 1 or 2. Some files that have 4 models (as shown in the Models dialog in Microstation) only return 2. Some files that have only 1 model return 2. Most files return 1 and correctly match what the Models dialog shows. But I am getting a mismatch for around 10% of my sample files.&lt;/p&gt;
&lt;p&gt;Is the mismatch a sign of file corruption? Or is there something I am not understanding about how this function works?&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>Fri, 09 Feb 2018 09:33:17 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cff5ad18-7f9a-42c2-96f9-dc13c9b72e13</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>what is the best way to delete everything in a file except visible elements in view 1.</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/137868/what-is-the-best-way-to-delete-everything-in-a-file-except-visible-elements-in-view-1</link><pubDate>Tue, 27 Jun 2017 13:46:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:570101d7-62cb-44a0-a682-6de48d7e84c0</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I am looking to remove everything in a dgn file except what is visible in view 1. It looks like mdlScanCriteria_setViewTest will scan what I want to keep.And then I suppose I could create a new file with the mdlWorkDgn functions. But in years past that has not been the most reliable technique for me if the drawing has had any corruption in it.&lt;/p&gt;
&lt;p&gt;What I would prefer is something that would scan what I want to delete. Or is there a better way to accomplish this?&lt;/p&gt;
&lt;p&gt;BTW, I am on Microstation SS3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MDL and upgrading MicroStation from SS3 to SS4</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/135501/mdl-and-upgrading-microstation-from-ss3-to-ss4</link><pubDate>Tue, 25 Apr 2017 18:12:55 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:38736b18-c7cc-4001-8e69-b85c7878c9e9</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;I have a large body of MDL code last compiled and tested in SS3. It is still in pseudocode form. Do I need to recompile in order to upgrade MicroStation from SS3 to SS4? Do I need to convert to nativecode? Can you direct me to any FAQs about making this port? Thanks for any info you can provide.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>