... in yadeWrapper.cpp? I can create a new body, give it a position and insert it in bodycontainer:
shared_ptr<Body> bodyTmp=shared_ptr<Body>(new Body()); bodyTmp->state->pos = myPositionVector; proxee->insert(bodyTmp); How can I tell c++, that this body is sphere with a given radius? How can I set the material in c++? I found this: http://docs.python.org/2/extending/embedding.html Do I need to embed python in c++ for my purpose? Hope not! Regards, Christian. _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

