Hi, I am having some confusing time with a wrapped class.
The class "Transform" has a function transformPVCoordinates() that has different options for input parameters. One of these are TimeStampedPVCoordinates. It is supposed to return a TimeStampedPVCoordinates object but returns instead a PVCoodinates object that is its parent class. I cannot cast this to TimeStampedPVCoordinates, gets an error. On most systems. On python 2.7 it works and only 3.6 under linux (testing for max, linux and win). It worked also in Python 3.7 on mac/windows for the JCC 3.0 version. I've checked the code being generated, and the return type and parameter type of TimeStampedPVCoord are there, both in c code and .h file. How/where is the matching of parameters from python call done? I get a feeling that the parent class is somehow used, but not shure how to troubleshoot this... Best Regards /Petrus -- _____________________________________________ Petrus Hyvönen, Uppsala, Sweden Mobile Phone/SMS:+46 73 803 19 00