When I was making my rig and it has a component that is using cloth simulation. I’m also using some buttons and sliders to control things. One of the things I want to control is if the cloth simulation is visible to speed up the viewport. I know the line to see if it’s visible or not. Bpy.data.object[‘My cloth object’].modifiers[‘Cloth’].show_viewport.
But I can’t figure out what I need to write after like toggle=True and text=“Cloth Simulation” . I just barely know what the operators do but I managed to make layer toggles and sliders for custom properties. It will be the final little thing I have planned now for the rig.
Sent from my Nexus 7 using Tapatalk 4