Re: [Python.NET] Casting an object to a different interface

"Matthias Hillenbrand" <[email protected]>
Newsgroups gmane.comp.python.dotnet
Message-ID <[email protected]>
Thanks! Bryan Loyd's method of casting to an interface seems to be what I am
looking for.

 

However, I get an error in combination with the commercial API:

>       surfaceCB = ZOSAPI.Editors.LDE.ISurfaceCoordinateBreak(surface)

E       TypeError: object does not implement ISurfaceCoordinateBreak

 

I will try to get a further hint from the support of the commercial software
I am struggling with.

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.