Sketchup pro for mac outliner
Note that it also requires "Win32api.so" which I've attached in a zip file - unzip it into /Plugins/ folder. grep(/mswin/)= and Sketchup.find_support_file("toggleWindows.rb","Plugins/") # = a Windows machine
SKETCHUP PRO FOR MAC OUTLINER FULL VERSION
To reset the Outliner as it was put this near the end of your code SketchUp Pro 2021 Full Version Multilingual for MacOS SketchUp Pro 2021 is an easy-to-learn 3D modeling program that enables you to explore the world in 3D. grep(/mswin/)= and Sketchup.find_support_file("toggleWindows.rb","Plugins/")# = a Windows machine ToggleRollUp("Outliner")if $bOutlinerWasOpenīefore the code runs add this into your code If the outliner winder is hidden then the script runs faster p.s. When each dynamic component is added Sketchup refreshes and redraws the Outliner view automatically, which causes the ruby script to run slowly. $bOutlinerWasOpen= !isRolledUp("Outliner") Is there a programmatic way to turn OFF the outliner window I have a ruby script that is inserting many dynamic components. In SketchUp, the Outliner enables you to view a model's objects (groups, components, and section planes) as a. grep(/mswin/)= and Sketchup.find_support_file("toggleWindows.rb","Plugins/") 2020 Attention: SketchUp 2020 has changed some words, whenever you see us refer to objects that can be either Groups or Components, they still work the same but it’s easier to talk about the two things with clarity now. #if window height is less than 90 then the window is rolledupĬode: Select all if. GetWindowRect= Win32API.new("user32.dll","GetWindowRect",'N')
SendMessage.call(pw,0x00a1,2,"")#WM_NCLBUTTONDOWN and if you're on a MAC, you can open the outliner under Window and then outliner. SendMessage = Win32API.new("user32.dll","SendMessage",'N') The Outliner window - Sketchup Pro Tutorial From the course: SketchUp 2020 Essential.
grep(/mswin/)= and Sketchup.find_support_file("Win32API.so","Plugins/")# = a Windows machineįindWindow = Win32API.new("user32.dll","FindWindow",'N') This is the way I do it using Jim's PC only fix - sorry Mac users.Īdd this code into a new ruby in /Plugins/ that will auto-load called toggleWindows.rbĬode: Select all # toggleWindows.rb - based on Jim's ideas - only for Windows. The Outliner is a known bug in SUp - Bugsplats can also happen - if the Outliner is 'rolled-up' the script will run faster and not crash 1st post! Thanks for all the useful help on this forum. If the Outliner winder is hidden then the script runs faster? I have a ruby script that is inserting many dynamic components. Filcole wrote:Is there a programmatic way to turn OFF the outliner window?