Can't change the ligament color in the GUI

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Xijin Hua
Posts: 29
Joined: Tue Feb 12, 2019 4:45 pm

Can't change the ligament color in the GUI

Post by Xijin Hua » Tue Feb 07, 2023 4:04 pm

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.
Attachments
Picture2.png
Picture2.png (176.29 KiB) Viewed 135 times

Tags:

POST REPLY