Toggle object visibility through Matlab API
Posted: Mon Mar 29, 2021 11:50 pm
Hi, I am editing a model through Matlab and struggling with understanding seemingly basic functions through doxygen.
I added wrap objects, but I want to hide the objects so the geometries do not show when viewing the model in OpenSim. I know I can manually hide them in the OpenSim GUI, but I would like to streamline it through Matlab.
I checked doxygen and found that "Appearance" is listed as a property under OpenSim::WrapObject, but I am having difficulty understanding how to access the "visible" property.
My guess was to use the function "set_Appearance(const Appearance & value)" to access "visible", but am not having any luck.
Any help or tips on understanding how to use doxygen as a reference for scripting would be greatly appreciated.
I added wrap objects, but I want to hide the objects so the geometries do not show when viewing the model in OpenSim. I know I can manually hide them in the OpenSim GUI, but I would like to streamline it through Matlab.
I checked doxygen and found that "Appearance" is listed as a property under OpenSim::WrapObject, but I am having difficulty understanding how to access the "visible" property.
My guess was to use the function "set_Appearance(const Appearance & value)" to access "visible", but am not having any luck.
Any help or tips on understanding how to use doxygen as a reference for scripting would be greatly appreciated.