Page 1 of 1

How to change the color of ligament in the musculoskeletal model?

Posted: Fri Feb 10, 2023 10:02 am
by xhua
Dear OpenSim experts:

I am creating a ligament element in a musculoskeletal model to represent an external device, as shown in the attached figure below. The default color of the ligament is green, I would like to change the color to black, to highlight the device for 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>1 1 1</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.

Re: How to change the color of ligament in the musculoskeletal model?

Posted: Tue Feb 14, 2023 3:13 am
by xhua
Anyone knows how to do this? Thanks.

Re: How to change the color of ligament in the musculoskeletal model?

Posted: Tue Feb 14, 2023 6:29 am
by tkuchida
You can change the color by right-clicking the name of the ligament in the Navigator and selecting Display -> Color.

Re: How to change the color of ligament in the musculoskeletal model?

Posted: Thu Feb 16, 2023 2:27 am
by xhua
I got it, thank you very much.