How to change the color of ligament in the musculoskeletal model?
Posted: Fri Feb 10, 2023 10:02 am
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:
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.
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>