I am following this tutorial for a custom GUI, accessible in the Object Mode, working in Blender 2.8.0. There, I have a several collections with one object comprised of one mesh each. Currently, I hide a whole object cubes_0 via a boolean property show_0_cubes as follows:

bpy.data.collections['cubes_0'].hide_viewport = not mytool.show_0_cubes

Now, I want to hide all faces of the mesh/object that have more than a certain distance from the origin. However, calling face.hide = True does not have any effect in object, but only in edit mode. There, I don't see my GUI. How do I hide certain faces, edges, vertices in Object Mode?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.