<?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>[V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/97165/v8i-ss3-mdl-setting-the-cursor-position-in-microstation-with-mdl</link><description>Hi, 
 does anyone have an idea, how to SET the cursor position in Microstation via. MDL? I can receive the position with mdlSystem_getCursorPosition(). 
 I want to control the cursor position in a scenario, where the graphical input is coming from a different</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/285157?ContentTypeID=1</link><pubDate>Thu, 22 May 2014 07:51:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3878ffc1-0d83-4d4d-a933-f8ba4fccc5a5</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Jon,&lt;/p&gt;
&lt;p&gt;thank you for your answers. I&amp;#39;ll try the MstnTool class from the C++ API, to see if this is satisfying my needs. Actually I have to switchover to an other task, so this may take two or three weeks.&lt;/p&gt;
&lt;p&gt;After this, I will report to the community, if this way was successful. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/284682?ContentTypeID=1</link><pubDate>Sun, 18 May 2014 07:06:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:66fd91f6-20c0-49dd-ba8d-e8f6cfb38d91</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Tom Torell&amp;quot;]I&amp;#39;m just using the Microstation Place Linestring command and simply want control over the cursor while the command is running[/quote]&lt;/p&gt;
&lt;p&gt;There is no capability to intercept a command function.&amp;nbsp; You can&amp;#39;t, for example, inject a callback to its dynamics function.&lt;/p&gt;
&lt;p&gt;Writing your own &lt;em&gt;place line-string&lt;/em&gt; command isn&amp;#39;t too hard.&amp;nbsp; You are then free to do whatever you want during &lt;em&gt;dynamics&lt;/em&gt;.&amp;nbsp; The best API is the C++&amp;nbsp; &lt;span style="font-family:courier new,courier;"&gt;MstnTool&lt;/span&gt; &amp;mdash; the base class for application-defined tools.&lt;/p&gt;
&lt;p&gt;If you prefer to stay with MDL, the &lt;span style="font-family:courier new,courier;"&gt;mdlState_startPrimitive&lt;/span&gt; is the entry point to MicroStation&amp;#39;s state machine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/284581?ContentTypeID=1</link><pubDate>Fri, 16 May 2014 11:44:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d120e1a4-da8a-4f11-8a8b-7af7cd8446db</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Hello Jon,&lt;/p&gt;
&lt;p&gt;you are right, the poorly documented C++ API ...&lt;/p&gt;
&lt;p&gt;I found an example to implement an own create Line command at LA-Solution, but I don&amp;#39;t want to reinvent the wheel: I&amp;#39;m just using the Microstation Place Linestring command and simply want control over the cursor while the command is running. I couldn&amp;#39;t find a solution for this till yet, even in the C++ API.&lt;/p&gt;
&lt;p&gt;Perhaps someone of the Bentley team has an idea ...&lt;/p&gt;
&lt;p&gt;Actually I&amp;#39;m coding my project in native MDL and added a C# .NET Form (DLL) to the solution. The form is started by the MDL and the image is presented to the user in this form. I marry these two different worlds (managed/unmanaged) through a intermediate C++/CLI DLL.&lt;/p&gt;
&lt;p&gt;Regards from Germany&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/284516?ContentTypeID=1</link><pubDate>Thu, 15 May 2014 17:12:58 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0d4993a5-2705-456c-9d59-547b3f990e8a</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Tom Torell&amp;quot;] I&amp;#39;m missing a possibility to control Microstations cursor while placing the element to show creation dynamics[/quote]&lt;/p&gt;
&lt;p&gt;That&amp;#39;s taken care of by MicroStation&amp;#39;s input state machine.&amp;nbsp; Both VBA and the C++ MicroStationAPI provide &lt;em&gt;dynamics&lt;/em&gt; methods to show graphics while user moves the cursor.&amp;nbsp; Which language to you plan to use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/284512?ContentTypeID=1</link><pubDate>Thu, 15 May 2014 16:34:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6ef349d8-e22c-49c2-ab63-2a6188bf50e8</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Hello Jon,&lt;/p&gt;
&lt;p&gt;the graphical input is completly different from a digitizing tablet: Input comes from measuring in a digital 3D image.&lt;/p&gt;
&lt;p&gt;Element creation is working with the mdlInput_send...() functions, but I&amp;#39;m missing a possibility to control Microstations cursor while placing the element to show creation dynamics.&lt;/p&gt;
&lt;p&gt;Regards, Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Setting the cursor position in Microstation with MDL</title><link>https://communities.bentley.com/thread/284507?ContentTypeID=1</link><pubDate>Thu, 15 May 2014 15:50:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9d292b8d-2fa6-4c38-8cc3-4480741e5c88</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Tom Torell&amp;quot;]I want to control the cursor position in a scenario, where the graphical input is coming from a different source as a Microstation window (like a digitizing tablet)[/quote]&lt;/p&gt;
&lt;p&gt;Doesn&amp;#39;t MicroStation already provide an interface for a digitizing tablet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>