This code worls in c3d 2009 but fails in c3d 2014
Dim oAcadApp As AcadApplication
Set oAcadApp = ThisDrawing.Application
Const sCivilAppName = "AeccXUiLand.AeccApplication.6.0"
Dim oCivilApp As AeccApplication
Set oCivilApp = oAcadApp.GetInterfaceObject(sCivilAppName)
Dim oDocument As AeccDocument
Set oDocument = oCivilApp.ActiveDocument
Compile error
Can't find project or library
Any Suggestions?
Thanks
Mike
Solved! Go to Solution.
Solved by Mikexlt. Go to Solution.
Hi Mike,
Maybe it is the major/minor version that you use in the GetInterfaceObject() call.
"AeccXUiLand.AeccApplication.6.0"
It's maybe no longer the "6.0" version but another one like (11.0???, 10.3???) and it's maybe why you can't load it.
See this post that is talking about it here.
Regards,
Rémy