Page 1 of 1

SetRange() on python

Posted: Fri Jun 11, 2021 8:25 am
by atabakmehrabani
Hello
I've been trying to create a model from scratch and when it comes to defining a range the method setRange doesn't seem to be available on python version.
"SetRange() is not defined on opensim package"
Am I missing something?

Re: SetRange() on python

Posted: Fri Jun 11, 2021 2:15 pm
by tkuchida
Not sure why setRange() isn't wrapped, but setRangeMin() and setRangeMax() seem to work.

Re: SetRange() on python

Posted: Fri Jun 11, 2021 2:18 pm
by tkuchida
setRange() wasn't working in Python so it was removed from the bindings (see https://github.com/opensim-org/opensim-core/issues/1368), but this wasn't documented. I'll add a note to the documentation.

Re: SetRange() on python

Posted: Sat Jun 12, 2021 8:06 am
by atabakmehrabani
Thanks