AWS Thinkbox Discussion Forums

Solidworks Visualize Boost

Anyone out there using Solidworks implementation of bunkspeed?

Looks like a Distributed / Team Render style approach to submitting Solidworks scenes.

I’ve requested a trial license so I can have a bash at getting this implemented via the custom submitter
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/application-plugins.html

checking to see if anyone else is interested in Solidworks and it’s renderer or whether anyone else has made a working plugin (or found any issues)

Will update when I get some free time to test this. need to read through this
http://help.solidworks.com/2018/english/Installation/install_guide/t_configuring_visualize_boost.htm

Ant

So I’ve got a trial license and started making my way through these docs
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/application-plugins.html

create folder for custom plugin
\\deadline\repository\custom\plugins\solidworks

create python file with default script
\\deadline\repository\custom\plugins\solidworks\solidworks.py

from Deadline.Plugins import *

######################################################################
## This is the function that Deadline calls to get an instance of the
## main DeadlinePlugin class.
######################################################################
def GetDeadlinePlugin():
  return solidworks()

######################################################################
## This is the function that Deadline calls when the plugin is no
## longer in use so that it can get cleaned up.
######################################################################
def CleanupDeadlinePlugin( deadlinePlugin ):
  deadlinePlugin.Cleanup()

######################################################################
## This is the main DeadlinePlugin class for solidworks.
######################################################################
class solidworks (DeadlinePlugin):

  # TODO: Place code here instead of "pass"
  pass

create param file with default script
\\deadline\repository\custom\plugins\solidworks\solidworks.param

[About]
Type=label
Label=About
Category=About Plugin
CategoryOrder=-1
Default=Solidworks Visualize Boost plugin
Description=Not configurable

[ConcurrentTasks]
Type=label
Label=ConcurrentTasks
Category=About Plugin
CategoryOrder=-1
Default=True
Description=Not configurable

[solidworksRenderExecutable]
Type=filename
Label=solidworks Render Executable
Default=C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS Visualize Boost\SWVisualize.BoostService.exe
Description=The path to the executable file used for rendering.

I’ve also extracted the icon file for the menu to look pretty
\\deadline\repository\custom\plugins\solidworks\solidworks.ico

So far so good, solidworks shows up under the plugins option

Now the fun (hard) part of writing the code. I’ve noticed that running the executable I’ve specified from explorer fails to launch, it has a service installed that maybe the way to start it. On top of that it seems to request the license again, not sure if a standalone vs network license issue or something else I’ve missed.

Checked the service in task manager
Taskmgr_AsjgsuunSj

Opened a command prompt in Administrator mode and tried stopping and starting the service and this worked ok and kept the license

Will have a look at the vrayDBR py file and see if I can cut and paste some bits out

found these also

https://deadline.thinkboxsoftware.com/feature-blog/2016/10/21/plug-it-in-plug-it-in-creating-new-plugins

https://deadline.thinkboxsoftware.com/feature-blog/2017/6/16/scripting-create-a-custom-monitor-submitter

need to create a submitter from the guide above

\\deadline\repository\custom\scripts\Submission\solidworks.py

I just copied the vray spawner one and am butchering it with find and replace

1 Like

Starting and stopping services is quite tricky. The internal API only provides the ability to stop a process… For V-Ray Spawner/Swarm we support killing the process but we recommend just turning it off.

Privacy | Site terms | Cookie preferences