<?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>[CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/170576/connect-u10-mdl-mdlbspline_extractcurve-is-missing</link><description>Hi, actually I&amp;#39;m migrating a V8i-MDL to Connect. Linking my MDL App with mdlbltin.lib, results in a LNK2019 error, Symbol &amp;quot;__imp_mdlBspline_extractCurve&amp;quot; is missing. This function is contained in msbspline.fdf, so compiling works fine, but mdlBspline_extractCurve</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/494947?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 13:46:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:defe80c4-fb1e-40f4-a756-f41bef1ea0c4</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Again, sorry for the delay and so glad to hear that you are up and running on this issue.&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/494908?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 10:20:29 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c23815e7-1e17-4192-ad39-023ee73d92fe</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;thank you very much; this is exactly I was looking for. It works now!&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: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/494687?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 16:47:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0b10e1b6-d33e-45ae-b5b9-bd7dc9399967</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/42dcc7ff_2d00_d701_2d00_4d51_2d00_9559_2d00_d51723011fd0"&gt;Tom Torell&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Sorry for not getting a response to this issue sooner as Artur and I discussed your SR 7000850984 today. We may be able to file a regression defect for the return of mdlBspline_extractCurve(), though we were able to find some Old/New MDL C API migration code for that exact function as a work-around.&lt;/p&gt;
&lt;p&gt;As &lt;a href="/members/de0601d9_2d00_ca2e_2d00_4005_2d00_a7b3_2d00_982abaee9aeb"&gt;Jon Summers&lt;/a&gt; mentions, ideally when migrating your code you will want to prefer using the New MDL C++ API classes as much as possible. In this case you should try to use the MSBsplineCurve class (vs. prior element typedef struct) whenever possible, then continue to use prior (though in need of update) MDL C API signatures for 1:1 migration where needed.&lt;/p&gt;
&lt;p&gt;As you can see below, it appears very little change is required and your output element will be an MSBsplineCurve where you can then access all point data needed directly from the instance.&lt;/p&gt;
&lt;div style="direction:ltr;"&gt;
&lt;table style="border:1pt solid #a3a3a3;border-collapse:collapse;direction:ltr;margin-left:0.333in;" title="" border="1" cellpadding="0" cellspacing="0" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #a3a3a3;padding:4pt;vertical-align:top;width:0.667in;"&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;OLD&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #a3a3a3;padding:4pt;vertical-align:top;width:4.295in;"&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;MSBsplineCurve curve;&lt;br /&gt; memset (&amp;amp;curve, 0, sizeof (curve));&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;&lt;span style="font-weight:bold;"&gt;mdlBspline_extractCurve&lt;/span&gt; (NULL, &amp;amp;curve.type, &amp;amp;curve.rational,&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in 0in 0in 0.375in;"&gt;&amp;amp;curve.display, &amp;amp;curve.params, &amp;amp;curve.poles, &amp;amp;curve.knots,&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in 0in 0in 0.375in;"&gt;&amp;amp;curve.weights, *ppED);&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #a3a3a3;padding:4pt;vertical-align:top;width:0.667in;"&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;NEW&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #a3a3a3;padding:4pt;vertical-align:top;width:4.226in;"&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;MSBsplineCurve curve;&lt;br /&gt; memset (&amp;amp;curve, 0, sizeof (curve));&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11pt;margin:0in;"&gt;&lt;span style="font-weight:bold;"&gt;mdlBspline_convertToCurve&lt;/span&gt; (&amp;amp;curve, *ppED);&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;If you find you need any other migration conversions, please feel free to Search and Post any new questions.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br /&gt;Bob (and Artur)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/493348?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 08:51:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7ca490af-0e92-45a3-97df-5a539238a97d</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Bob,&lt;br /&gt;&lt;br /&gt;could you check the export definitions between the two libraries in the meantime?&lt;br /&gt;&lt;br /&gt;Will the function mdlBspline_extractCurve() be provided in the next upcoming release of CONNECT?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490953?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 08:34:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:43be63da-c791-46ac-98c4-4a9739111316</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Jon,&lt;/p&gt;
&lt;p&gt;you are right. Sorry, that was a mistype by my touch system.&lt;/p&gt;
&lt;p&gt;I assume, the name stands for &amp;quot;Microstation Development Language built in library&amp;quot;.&lt;/p&gt;
&lt;p&gt;I corrected the misspelling in my post above, to make it googelable.&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: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490771?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 15:56:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ad4c095a-34fe-4736-ab3f-2fea79c90dcb</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;&lt;a href="/members/42dcc7ff_2d00_d701_2d00_4d51_2d00_9559_2d00_d51723011fd0"&gt;Tom Torell&lt;/a&gt;.&amp;nbsp; Let me check on the export definitions between the two libraries to see what publishing scope may have changed.&amp;nbsp; I will report back as soon as I can and if necessary, schedule to correct it in an upcoming release.&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490750?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 14:35:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2c74b6ec-42a4-430e-aeb6-064df608008d</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="22257" url="~/products/programming/microstation_programming/f/microstation-programming---forum/170576/connect-u10-mdl-mdlbspline_extractcurve-is-missing/490736"]I assume my version of mblbltin.lib [/quote]
&lt;p&gt;Spelling: &lt;code&gt;mdlbltin.lib&lt;/code&gt; not &lt;code&gt;mblbltin.lib&lt;/code&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490736?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 13:18:27 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3271555c-b3c6-405d-8f8a-40e8a02597f9</guid><dc:creator>Tom Torell</dc:creator><description>&lt;p&gt;Bob,&lt;br /&gt;&lt;br /&gt;unfortunately I&amp;#39;m still not able to link my application; I assume my version of mblbltin.lib does not contain mdlBspline_extractCurve() (see my mblbltin.lib attached)&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;unfortunately I&amp;#39;m still not able to link my application; I assume my version of mdlbltin.lib does not contain mdlBspline_extractCurve() (see my mdlbltin.lib attached)&lt;br /&gt;&lt;br /&gt;I installed &lt;br /&gt;&lt;br /&gt;ms10100023en_updt10.exe&amp;nbsp;&amp;nbsp; and&lt;br /&gt;mssdk10100032en.msi&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Tom&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/343173/mdlbltin.zip"&gt;communities.bentley.com/.../mdlbltin.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Edit&lt;/p&gt;
&lt;p&gt;I looked into the symbols defined in the library; mdlBspline_extractCurve() seems to be missing:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;F:\Users\Tom\Temp&amp;gt;dir mdlbltin.lib
 Datentr&amp;#228;ger in Laufwerk F: ist Users (820 GB)
 Volumeseriennummer: 6759-4D8D

 Verzeichnis von F:\Users\Tom\Temp

07.08.2018  02:10         4.386.082 mdlbltin.lib
               1 Datei(en),      4.386.082 Bytes
               0 Verzeichnis(se), 337.336.811.520 Bytes frei

F:\Users\Tom\Temp&amp;gt;dumpbin /EXPORTS mdlbltin.lib &amp;gt; symbols.txt

F:\Users\Tom\Temp&amp;gt;findstr mdlBspline_extractCurve symbols.txt
                  mdlBspline_extractCurveNormal

F:\Users\Tom\Temp&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490243?ContentTypeID=1</link><pubDate>Thu, 08 Nov 2018 14:05:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7b4db943-cea4-4982-b984-b7e47d85eebe</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;&lt;a href="/members/42dcc7ff_2d00_d701_2d00_4d51_2d00_9559_2d00_d51723011fd0"&gt;Tom Torell&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;In addition to Jon&amp;#39;s correct and helpful advice to start to move and improve your code using the new and robust C++ classes, you should still be able (for now until potentially deprecated) to use mdlBspline_extractCurve() given the following Header and Static Library referenced are included:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\PROGRA~1\Bentley\MICROS~2\examples&amp;gt;sdkinc

C:\PROGRA~1\Bentley\MICROS~2\include&amp;gt;s mdlBspline_extractCurve *
Mstn\MdlApi\msbsplin.fdf:1274:MSCORE_EXPORT int      mdlBspline_extractCurve
Mstn\MdlApi\msbsplin.fdf:1415:* @see   mdlBspline_extractCurve
Mstn\MdlApi\msbsplin.fdf:3065:MSCORE_EXPORT int     mdlBspline_extractCurveNormal

C:\PROGRA~1\Bentley\MICROS~2\include&amp;gt;sdklib

C:\PROGRA~1\Bentley\MICROS~2\library&amp;gt;sb mdlBspline_extractCurve *
mdlbltin.lib&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;HTH,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U10 MDL] mdlBspline_extractCurve() is missing</title><link>https://communities.bentley.com/thread/490201?ContentTypeID=1</link><pubDate>Thu, 08 Nov 2018 11:15:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bdb5b476-2bb4-423c-ae02-4a3a38c42ee7</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="22257" url="~/products/programming/microstation_programming/f/microstation-programming---forum/170576/connect-u10-mdl-mdlbspline_extractcurve-is-missing"]It is missing in the ustation.dll[/quote]
&lt;p&gt;MicroStationAPI help tells us &lt;span style="color:seagreen;"&gt;Required Library: msbspline.dll&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t see that DLL in the MicroStation folder or the .lib in the &lt;code&gt;SDK\library&lt;/code&gt; folder.&amp;nbsp; There is a &lt;code&gt;splindlm.lib&lt;/code&gt;; what does that provide?&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;MicroStationAPI B-Spline Classes&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;In the brave new world of MicroStationAPI C++ programming you will find the &lt;code&gt;MSBsplineCurve&lt;/code&gt; and &lt;code&gt;MSBsplineSurface&lt;/code&gt; classes.&amp;nbsp; An &lt;code&gt;ICurvePrimitive&lt;/code&gt;, for example, can obtain a &lt;code&gt;MSBsplineCurve&lt;/code&gt;.&amp;nbsp; See SDK example &lt;em&gt;PrimitiveCurveExample&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>