diff --git a/src/compas_timber/ghpython/components/CT_Assembly/code.py b/src/compas_timber/ghpython/components/CT_Assembly/code.py index 8551795b3..075ff6234 100644 --- a/src/compas_timber/ghpython/components/CT_Assembly/code.py +++ b/src/compas_timber/ghpython/components/CT_Assembly/code.py @@ -148,5 +148,5 @@ def RunScript(self, Beams, JointRules, Features, MaxDistance, CreateGeometry): if debug_info.has_errors: self.AddRuntimeMessage(Warning, "Error found during joint creation. See DebugInfo output for details.") - Geometry = scene.redraw() + Geometry = scene.draw() return Assembly, Geometry, debug_info diff --git a/src/compas_timber/ghpython/components/CT_Beam_fromCurve/code.py b/src/compas_timber/ghpython/components/CT_Beam_fromCurve/code.py index 5ecd8320f..9e278b8ec 100644 --- a/src/compas_timber/ghpython/components/CT_Beam_fromCurve/code.py +++ b/src/compas_timber/ghpython/components/CT_Beam_fromCurve/code.py @@ -80,6 +80,6 @@ def RunScript(self, Centerline, ZVector, Width, Height, Category, updateRefObj): Beam.append(beam) scene.add(beam.blank) - Blank = scene.redraw() + Blank = scene.draw() return Beam, Blank