Redraw all dynamic components?


#1

Is anyone aware of a way to redraw a group of components or the entire model in one shot? I am finding that individually selecting and right clicking to redraw is tedious and it’s easy to miss a component in large models…


#2
 Sketchup.active_model.selection.grep(Sketchup::ComponentInstance).each do |s|
        $dc_observers.get_latest_class.redraw_with_undo(s)
 end

Open the Ruby Console (Window) and paste


#3

This worked great. Added it with toolbar editor as an icon. Select the entire model and execute. Works like “regenall” in Autocad. Thanks!!