Closed PRemmen closed 9 years ago
We need to address this issue, at least we should be able to provide a data type for each property so we can do datatype conversions "automatically".
Let's discuss this in our next call.
Agree that we need to address this issue, still this would blow up the python wrapper enormously due to the number of SimModel instances (of course it would work for first use case as a first step)
This problem is just resolved after we passing the data type of a simmodel component from C++ into Python. Now the Python code can do the automated type conversion.
Right now we need to do a lot of manual Datatype conversion in the Python Wrapper (creating all classes, and also have a lot of conversion methods with if clauses). Apparently this is because of severall things like differences in C++ and Python, Structure of SimModel, and Wrapper technology.
This is an issue without any satisfying solution, so just to keep it in our minds.