Error: No constructor 'org.opensim.modeling.Body' with matching signature found.
- Chongyuan Feng
- Posts: 4
- Joined: Fri Mar 01, 2019 8:16 pm
Error: No constructor 'org.opensim.modeling.Body' with matching signature found.
Hello, this error message was shown when I am constructing a Body using the Body constructor which worked in other scripts, very strange.
Tags:
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: Error: No constructor 'org.opensim.modeling.Body' with matching signature found.
The method you are calling can be found in the API documentation here: https://simtk.org/api_docs/opensim/api_ ... c19326e7c0. You should ensure that each argument is of the appropriate type. It might be helpful to use the default constructor instead (Cuff = Body()) and set the properties one-by-one to find out which one is causing the issue.
- Chongyuan Feng
- Posts: 4
- Joined: Fri Mar 01, 2019 8:16 pm
Re: Error: No constructor 'org.opensim.modeling.Body' with matching signature found.
Thank you very much Uchida, the problem was solved. Have a nice one!