Hi all,

I wanna save the generated pack information into a file in .py script. I can do it in .cpp file. But I found there is no corresponding functions in pack.py while fromFile() and toFile() are available in SpherePack.hpp and .cpp.

How can I save the pack into a file in .py? and how to launch the C++ functions in the .py file? need to put it into the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR_PY(saying create a interface for python)?

Thank you!

--
Lin Zhang


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to