Search found 22 matches

by Marcos Alfredo Núñez
Thu Feb 08, 2018 3:01 pm
Forum: OpenSim
Topic: Problem adding an Analysis to a Model using API from Python
Replies: 4
Views: 174

Problem adding an Analysis to a Model using API from Python

Hi! I'm using the 3.3 API with python. This example: import opensim m = opensim.Model() a = opensim.MuscleAnalysis() m.addAnalysis(a) throws: /usr/local/lib/python2.7/dist-packages/opensim-3.3-py2.7.egg/opensim/opensim.pyc in addAnalysis(self, analysis) 69848 val = _opensim.Model_addAnalysis(self, a...
by Marcos Alfredo Núñez
Thu Aug 24, 2017 7:59 pm
Forum: OpenSim
Topic: Controlling the ModelVisualizer (changing background, size, etc) from Python
Replies: 0
Views: 189

Controlling the ModelVisualizer (changing background, size, etc) from Python

Hi! I'm currently using Opensim 3.3 under a python wrapping, and I'm trying to visualise results using it's ModelVisualizer . However, from python I don't seem to have access to the underlying Simbody Visualizer. I'm trying to change it's parameters, such as with setMode, setBackgroundColor, etc. Ho...