Page 1 of 1

Can't change the ligament color in the GUI

Posted: Tue Feb 07, 2023 4:04 pm
by xhua
Dear OpenSim experts:

I am creating a ligament to represent an external device in a musculoskeletal model, as shown in the attached figure below. The default color of the ligament is green, I would like to change the color to other colors, such as black to highlight the device as demonstration. I tried to change the ligament color by modifying the color values in the OSIM file:

Code: Select all

	<Appearance>
		<!--Flag indicating whether the associated Geometry is visible or hidden.-->
		<visible>true</visible>
		<!--The color, (red, green, blue), [0, 1], used to display the geometry. -->
		<color>0.5 0.5 0.5</color>
	</Appearance>
But it doesn't work, the color is not changed, still green. Does anyone know how to change the color of ligament in a musculoskeletal model in the OpenSim? I would really appreciate it if some one could provide helps. Thanks.