Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Buthrakaur on June 07, 2005, 03:35:31 am
-
we just ran on a problem when accessing Repository.GetCurrentDiagram().SelectedObjects collection - any attempt to retrieve elements of this collection results in windows-exception "WindowsError: [Errno -2147467262] Unknown interface"...
were there any changes in the interface recently? we upgraded from EA4.5x few days ago, where this worked ok... we're accessing EA from python and regenerated the type library after switching to current version....
-
I have also the same problem with this collection.
Navid
-
While there were changes to the interface between 4.x and through 5.0, I am not aware of any changes to this particular area. If you have not done so already, it is recommended that you re-link to the latest Typelib or Interop and recompile for maximum compatibility.
If the problem continues, please email [email protected] and we can look into the problem in more detail.