Is there a way to select all faces with the same vertex color of the selected face? There is an old addon, but it doesn't work in the new version of Blender: https://gist.github.com/tamask/2590850
Asked
Active
Viewed 1,559 times
1 Answers
-1
I checked this post about properly registering the class and ended up modifying the end of the script like so:
def register():
bpy.utils.register_class(SelectByColor)
bpy.types.VIEW3D_HT_header.append(menu_func)
def unregister():
bpy.utils.unregister_class(SelectByColor)
bpy.types.VIEW3D_HT_header.remove(menu_func)
if name == "main":
register()
- script is broken though
ended up just using this one: https://blenderartists.org/t/select-vertices-according-to-vertex-color/471451/10
Ratsnake
- 1
- 1
-
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Yousuf Chaudhry Jul 06 '22 at 21:26
bpy.utils.register_module(__name__)withbpy.utils.register_class(SelectByColor)and change blender version in the header dict eg'blender': (2, 80, 0),for blender 2.8 – batFINGER Jul 20 '20 at 16:59Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) ModuleNotFoundError: No module named 'select_by_color_2'
– Yan Kansky Jul 20 '20 at 18:13