﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Manifold Community Site: scripting an import of a Manifold 9 drawing into Manifold 8</title><link>http://95.79.92.2:8080/forum/t164843</link><description>Manifold Community Site thread</description><image><url>http://95.79.92.2:8080/forum/images/img-logo.png</url><title>Manifold Community Site: scripting an import of a Manifold 9 drawing into Manifold 8</title><link>http://95.79.92.2:8080/forum/t164843</link></image><item><title>RE: scripting an import of a Manifold 9 drawing into Manifold 8</title><link>http://95.79.92.2:8080/forum/t164843#164844</link><description>&lt;P&gt;I have been able to import a drawing from a Manifold 9 .map into Manifold 8, using the GUI and the driver. &lt;/P&gt;&lt;P&gt;When trying to script the process like here:&lt;/P&gt;&lt;P class='code'&gt;&lt;SPAN&gt;&lt;span class=k&gt;Sub&lt;/span&gt;&amp;#160;Main&lt;/SPAN&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;#160;&lt;/SPAN&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;odbc&amp;#160;=&amp;#160;document.NewImport(&lt;span class=s&gt;&amp;quot;ODBC&amp;quot;&lt;/span&gt;)&amp;#160;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;#160;&lt;/SPAN&gt;odbc.ConnectionString&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;DRIVER={Manifold&amp;#160;9.0&amp;#160;Project&amp;#160;Driver&amp;#160;(*.map)};DBQ=C:\projects\dennis\dennis.map;DSN=Manifold9;&amp;quot;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;#160;&lt;/SPAN&gt;odbc.Import&amp;#160;&lt;span class=s&gt;&amp;quot;municipal&amp;quot;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;SPAN&gt;&lt;span class=k&gt;End&lt;/span&gt;&amp;#160;&lt;span class=k&gt;Sub&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get an error &amp;quot;invalid index Name_Property_x&amp;quot;&lt;/P&gt;&lt;P&gt;If I change the drawing name from municipal to &amp;quot;municipal table&amp;quot;, the table imports just fine.  So, there is something in the drawing that is creating a problem, I think.  I&amp;#39;ve removed all the indexes in the drawing as well, but I still get the same error.&lt;/P&gt;</description><dc:creator>artlembo</dc:creator><comments>http://95.79.92.2:8080/forum/t164843#164844</comments><guid>http://95.79.92.2:8080/forum/t164843#164844</guid><pubDate>Tue, 06 May 2025 18:59:01 GMT</pubDate></item><item><title>RE: scripting an import of a Manifold 9 drawing into Manifold 8</title><link>http://95.79.92.2:8080/forum/t164843#164845</link><description>&lt;P&gt;just a quick follow up, I think this error is being thrown in response to the mfd_meta table  that has an index called &lt;I&gt;Property_Name_x&lt;/I&gt;.  But again, not sure how to avoid the error, and why it works with a table and not a drawing.&lt;/P&gt;</description><dc:creator>artlembo</dc:creator><comments>http://95.79.92.2:8080/forum/t164843#164845</comments><guid>http://95.79.92.2:8080/forum/t164843#164845</guid><pubDate>Tue, 06 May 2025 19:25:12 GMT</pubDate></item><item><title>RE: scripting an import of a Manifold 9 drawing into Manifold 8</title><link>http://95.79.92.2:8080/forum/t164843#165041</link><description>&lt;P&gt;Just as a workaround. If the table works great and includes de Geom column, then we can do a linked drawing from that table, or even a Copy/Paste as Drawing?? and all good? Well, if its done thru a script, then the script can create the new drawing in 8 from that imported or linked table from 9??? &lt;/P&gt;&lt;P&gt;Let me know how it goes. Cheers, Tomas. &lt;/P&gt;</description><dc:creator>tomasfa</dc:creator><comments>http://95.79.92.2:8080/forum/t164843#165041</comments><guid>http://95.79.92.2:8080/forum/t164843#165041</guid><pubDate>Mon, 28 Jul 2025 02:03:29 GMT</pubDate></item></channel></rss>