diff --git a/archimesh/achm_door_maker.py b/archimesh/achm_door_maker.py
index 9a8644a725b6178b9b20df3c381d07b7edf400b9..7f534be5bfb3846aeaf90b7e7e551c1de8b141ce 100644
--- a/archimesh/achm_door_maker.py
+++ b/archimesh/achm_door_maker.py
@@ -237,12 +237,11 @@ def shape_children(mainobject, update=False):
     myctrl.hide_viewport = False
     myctrl.hide_render = True
     if bpy.context.scene.render.engine in {'CYCLES', 'BLENDER_EEVEE'}:
-        myctrl.cycles_visibility.camera = False
-        myctrl.cycles_visibility.diffuse = False
-        myctrl.cycles_visibility.glossy = False
-        myctrl.cycles_visibility.transmission = False
-        myctrl.cycles_visibility.scatter = False
-        myctrl.cycles_visibility.shadow = False
+        myctrl.visible_camera = False
+        myctrl.visible_diffuse = False
+        myctrl.visible_glossy = False
+        myctrl.visible_transmission = False
+        myctrl.visible_shadow = False
 
     # Create control box for baseboard
     myctrlbase = create_control_box("CTRL_Baseboard",
@@ -260,12 +259,11 @@ def shape_children(mainobject, update=False):
     myctrlbase.hide_viewport = False
     myctrlbase.hide_render = True
     if bpy.context.scene.render.engine in {'CYCLES', 'BLENDER_EEVEE'}:
-        myctrlbase.cycles_visibility.camera = False
-        myctrlbase.cycles_visibility.diffuse = False
-        myctrlbase.cycles_visibility.glossy = False
-        myctrlbase.cycles_visibility.transmission = False
-        myctrlbase.cycles_visibility.scatter = False
-        myctrlbase.cycles_visibility.shadow = False
+        myctrlbase.visible_camera = False
+        myctrlbase.visible_diffuse = False
+        myctrlbase.visible_glossy = False
+        myctrlbase.visible_transmission = False
+        myctrlbase.visible_shadow = False
 
         mat = create_transparent_material("hidden_material", False)
         set_material(myctrl, mat)
diff --git a/archimesh/achm_window_maker.py b/archimesh/achm_window_maker.py
index 2389387fd8f5717a86264d35a5c81a82f53da6b6..e9b6131d04c2ffa60f80137d3050b3eb75fceb21 100644
--- a/archimesh/achm_window_maker.py
+++ b/archimesh/achm_window_maker.py
@@ -220,12 +220,11 @@ def shape_mesh_and_create_children(mainobject, tmp_mesh, update=False):
     myctrl.hide_viewport = False
     myctrl.hide_render = True
     if bpy.context.scene.render.engine in {'CYCLES', 'BLENDER_EEVEE'}:
-        myctrl.cycles_visibility.camera = False
-        myctrl.cycles_visibility.diffuse = False
-        myctrl.cycles_visibility.glossy = False
-        myctrl.cycles_visibility.transmission = False
-        myctrl.cycles_visibility.scatter = False
-        myctrl.cycles_visibility.shadow = False
+        myctrl.visible_camera = False
+        myctrl.visible_diffuse = False
+        myctrl.visible_glossy = False
+        myctrl.visible_transmission = False
+        myctrl.visible_shadow = False
 
         mat = create_transparent_material("hidden_material", False)
         set_material(myctrl, mat)
diff --git a/archimesh/achm_window_panel.py b/archimesh/achm_window_panel.py
index b2050875aced2f037b746327759cf9f603dae663..6899c2e968a85e8b0bd0fca2cc36944a803110a6 100644
--- a/archimesh/achm_window_panel.py
+++ b/archimesh/achm_window_panel.py
@@ -398,12 +398,11 @@ def do_ctrl_box(myobject):
     myctrl.hide_viewport = False
     myctrl.hide_render = True
     if bpy.context.scene.render.engine in {'CYCLES', 'BLENDER_EEVEE'}:
-        myctrl.cycles_visibility.camera = False
-        myctrl.cycles_visibility.diffuse = False
-        myctrl.cycles_visibility.glossy = False
-        myctrl.cycles_visibility.transmission = False
-        myctrl.cycles_visibility.scatter = False
-        myctrl.cycles_visibility.shadow = False
+        myctrl.visible_camera = False
+        myctrl.visible_diffuse = False
+        myctrl.visible_glossy = False
+        myctrl.visible_transmission = False
+        myctrl.visible_shadow = False
 
         mat = create_transparent_material("hidden_material", False)
         set_material(myctrl, mat)