<?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] Migration from V7 to V8iSS3 : how to know if I am in 3D</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/97762/v8i-ss3-mdl-migration-from-v7-to-v8iss3-how-to-know-if-i-am-in-3d</link><description>Hello everybody, 
 Once again I don&amp;#39;t know how to &amp;#39;translate&amp;#39; a piece of V7 code. 
 I have : 
 if ( (tcb -&amp;gt; fbfdcn.design3d == 0)) { mdlInput_sendKeyin (&amp;quot;ACTE2D SECTION2D BACKDGN_RETOUR&amp;quot;, 0, INPUTQ_EOQ, ustnTaskId); return INPUT_COMMAND_REJECT; } 
 &amp;#39;design3d</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [V8i SS3 MDL] Migration from V7 to V8iSS3 : how to know if I am in 3D</title><link>https://communities.bentley.com/thread/286763?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2014 12:52:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b808a35d-12f0-41ea-a106-c43dda44f44b</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Pascal,&lt;/p&gt;
&lt;p&gt;In your migration process It would be best for you to identify what the old application did.&amp;nbsp; Then see if the new product includes the functionality already, or has possibly has made it obsolete with new or improved workflows.&amp;nbsp; Then write down the functionality (functional specifications)&amp;nbsp;in general terms and try to find a suitable solution by searching in the API documentation (and headers depending on language).&amp;nbsp; If you cannot find the necessary information then post a question on the forums asking in those general terms how to achieve the feature/task in the new target version and language intended.&amp;nbsp; This should help make the process a bit smoother for everyone involved with the migration.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;Pascal Moron&amp;quot;]Can anybody tell me where can I find documentation on V7 MDL ?[/quote]&lt;/p&gt;
&lt;p&gt;A full MicroStation/J install includes the MDL SDK and installs the documentation under:&lt;br /&gt;..\Program\MicroStation\docs\mdehelp.hlp&lt;/p&gt;
&lt;p&gt;A more extensive list of product and also MDL feature specific documentation can be found by navigating or searching &lt;a href="http://docs.bentley.com/"&gt;our online documentation&lt;/a&gt;.&amp;nbsp; Here is &lt;a href="http://docs.bentley.com/search.php?FormName=search&amp;amp;FormAction=search&amp;amp;product=&amp;amp;title=mdl"&gt;a search for MDL documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;HTH,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i SS3 MDL] Migration from V7 to V8iSS3 : how to know if I am in 3D</title><link>https://communities.bentley.com/thread/286732?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2014 08:08:29 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c046edea-2907-43e5-a634-8fc027863531</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Pascal Moron&amp;quot;]&amp;#39;design3d&amp;#39; is no more an element of the fbfdcn struct[/quote]&lt;/p&gt;
&lt;p&gt;MicroStation V7 stored graphic elements in a DGN design file.&amp;nbsp; The file could be 2D or 3D.&amp;nbsp; That TCB variable tells us that dimension.&lt;/p&gt;
&lt;p&gt;MicroStation V8 stores multiple models per DGN file.&amp;nbsp; Each model may be 2D or 3D.&amp;nbsp; A file therefore has no dimensionality.&amp;nbsp; You must examine each model to determine whether it is 2D or 3D.&lt;/p&gt;
&lt;p&gt;MDL&amp;#39;s API to DGN models is the mdlModelRef_api.&amp;nbsp; &lt;span style="font-family:courier new,courier;"&gt;mdlModelRef_getActive &lt;/span&gt;returns a pointer to the active model.&amp;nbsp; &lt;span style="font-family:courier new,courier;"&gt;mdlModelRef_is3D&lt;/span&gt; tells you if a model is 3D or 2D.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;Pascal Moron&amp;quot;]Can anybody tell me where can I find documentation on V7 MDL?[/quote]&lt;/p&gt;
&lt;p&gt;Perhaps the &lt;a target="_blank" title="Bentley Systems" href="http://www.bentley.com"&gt;Bentley Systems&lt;/a&gt; website?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>