Question #239918 on Yade changed: https://answers.launchpad.net/yade/+question/239918
jduriez proposed the following answer: If you really want achieve your goal through c++, I guess you have to add a line in YADE_CLASS_BASE_DOC_ATTRS_INIT_CTOR_PY block in the source file (pkg/dem/CohesiveTriaxialTest.hpp). Look at other lines from this block, or to https://www.yade-dem.org/doc/prog.html#yade-class-base-doc- macro-family, for the syntax. But actually, this way is also the one to access and modify variables through Python. And (if you need another point of view different than yours ;-) ) I confirm it's probably worth for you to learn to deal with "python use" of yade Jerome -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

