How to pass a python class to a C++ class
Asked by
Reza Housseini
Hello
I try to write a ClumpsFactory class and want therefore pass a utils.clumpTemplate class from python to my C++ class.
I tried to pass it as a python::object
((python:
But it gives my odd compilation errors regarding a missing ´serialize´ function. Does somebody know how I can achieve this?
Cheers
Reza
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Reza Housseini for more information if necessary.
To post a message you must log in.