Subscribe to this thread
Home - General / All posts - scripting an import of a Manifold 9 drawing into Manifold 8
artlembo


3,440 post(s)
#06-May-25 18:59

I have been able to import a drawing from a Manifold 9 .map into Manifold 8, using the GUI and the driver.

When trying to script the process like here:

Sub Main

 Set odbc = document.NewImport("ODBC"

 odbc.ConnectionString = "DRIVER={Manifold 9.0 Project Driver (*.map)};DBQ=C:\projects\dennis\dennis.map;DSN=Manifold9;"

 odbc.Import "municipal"

End Sub

I get an error "invalid index Name_Property_x"

If I change the drawing name from municipal to "municipal table", the table imports just fine. So, there is something in the drawing that is creating a problem, I think. I've removed all the indexes in the drawing as well, but I still get the same error.

artlembo


3,440 post(s)
#06-May-25 19:25

just a quick follow up, I think this error is being thrown in response to the mfd_meta table that has an index called Property_Name_x. But again, not sure how to avoid the error, and why it works with a table and not a drawing.

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.