Thanks for the swift reply res,
This line:
vc = object_reg.Get(iVirtualClock)
Is producing this error:
NotImplementedError: Wrong number of arguments for overloaded function 'iObjectRegistry_Get'.
Possible C/C++ prototypes are:
Get(iObjectRegistry *,char const *)
Get(iObjectRegistry *,char const *,scfInterfaceID,int)
Get(iObjectRegistry *,scfInterfaceID,int)
Get(iObjectRegistry *)
object_reg is an instance of iObjectRegistry.
iVirtualClock is a python
class, not an instance of one. I'm basically trying to pass the class itself as an argument.
And I agree that there's no need to explicitly access the implementation of iSCF, I was just looking for a workaround for my problem. Also, just for my understanding, in C++ what's "iVirtualClock"? It's an interface right? Can you pass an interface/class name as an argument? in contrast of passing an instance?