Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Buthrakaur on June 07, 2005, 03:35:31 am

Title: problem with Diagram.SelectedObjects (EA 5.00.766)
Post 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....
Title: Re: problem with Diagram.SelectedObjects (EA 5.00.
Post by: Navid_Khosravi on March 27, 2006, 06:53:49 am
I  have also the same problem with this collection.
Navid
Title: Re: problem with Diagram.SelectedObjects (EA 5.00.
Post by: Aaron B on March 27, 2006, 09:16:19 pm
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.