Operating SOLIDWORKS Visualize Boost Server - Part 3

Operating SOLIDWORKS Visualize Boost Server – Part 3

Table of Contents


How to Keep SOLIDWORKS Visualize Boost Running Smoothly

Letโ€™s say the power goes out, Windows crashes, a network render fails, or something as simple as the rendering server needs to be rebooted. These common scenarios can cause hiccups for network rendering, but they donโ€™t have to. By creating a very simple BAT program tasks such as shutdown โ€œtaskkillโ€ and run โ€œstartโ€ commands can be queued up instantly, eliminating repetitive tasks, and automating the rest of the render server. Additional programs can be added for GPU and CPU monitoring as well.

SOLIDWORKS Visualize Run_Boost_Bump

SOLIDWORKS Visualize Run_Boost_Notepad

This blog is a bit technical, but itโ€™s worth the read. Trust me when I say once you start using batch files to automate repetitive tasks you will never go back.

Multiple commands can be added to a single.BAT file separated by a timed pause eliminating the need for multiple programs. I like to create a single.BAT file that terminates any currently running processes that may interfere with rebooting the Boost server, create a timed pause, then run any applications I would like to a load alongside the Boost server. In this case, I have a few task shutdown operations followed by the Boost Server execution and then MSI Afterburner starting a few seconds after the server loads.

  1. First, you will need to create a new Text document, this can be done by r-clicking in any folder and choose โ€œNew>Text Documentโ€. This new document will be renamed from a.TXT to a.BAT later.
  2. Next, we will want to edit this file with Notepad and add a few basic commands. The basics are stopping program โ€œtaskkillโ€, start program โ€œstartโ€, and pause โ€œtimeout /t #โ€.
  3. When running โ€œtaskkillโ€ I like to add /f to force the operation then follow that up with the image/im. For instance, you would use the below line if you want to stop the Visualize Boost server.ย โ€œtaskkill /f /im SWVisualize.BoostService.exeโ€
  4. The โ€œstartโ€ command is a little more complicated and the program location will need to be defined when trying to execute it. For instance, the default installation location for the Visualize Boost server is โ€œC:Program FilesSOLIDWORKS CorpSOLIDWORKS Visualize Boostโ€ so the location โ€œcdโ€ will need to be defined for that before the program is executed.ย โ€œcd โ€œC:Program FilesSOLIDWORKS CorpSOLIDWORKS Visualize Boostโ€start SWVisualize.BoostService.exeโ€
  5. I like to keep things clean and in order by adding pauses in-between the operations. This helps just in case one operation takes a little longer to load and the second operation is dependent on the first. The delay time is specified in seconds. โ€œtimeout /t 5โ€ (5 being the amount of delay in seconds)
  6. Next, we will need to rename the file from.TXT to.BAT, this will convert the file from a standard text file to a simple program. To do so r-click the file and choose rename and type in.BAT
  7. This last part may seem a bit silly but really is necessary for a lot of operations. BAT files canโ€™t run in admin mode by default but shortcuts canโ€ฆ so letโ€™s create a shortcut of the BAT file! This is a pretty simple operation, first, r-click the BAT file and create the shortcut. After the shortcut is created, r-click the shortcut and go to โ€œShortcut>Advanced>Run as administrator>OKโ€ Now when this shortcut is running all operations it executes will run in admin mode.

SOLIDWORKS Visualize Boost Bump Shortcut Properties

This is just the start; the potential is entirely up to you. If you find yourself doing the same operation over and over, perhaps it can be automated.

If you want to create stunning photorealistic content with your SOLIDWORKS Data and bring your designs to life, Start your FREE Trial of SOLIDWORKS Visualize today!

Picture of Scott Woods

Scott Woods

Scott Woods is a senior technical product manager for 3DEXPERIENCE and 3D CAD Tools. He has been with Hawk Ridge Systems for over 15 years and has an extensive background with everything CAD, visual communications, and cloud. In his free time, you can find him tending to his honeybees and 3D printers or fine-tuning his photography skills.