Page 1 of 1

Disabling auto detection for node & manager

Posted: Wed Nov 30, 2011 9:17 pm
by Delineator
Quick question, in 2.5.15 a feature was added called: Added auto-detection for starting network node & manager. Basically, when you submit a job via network render, the manager and the node auto launch at the same time. The issue I am having is I want to control who is running nodes and there seems to be some confusion when multiple managers are running on a network.

Is there a command line flag I can put in somewhere or some way I can even uninstall the node and manager from client machines (those submitting, but not participating in the rendering process).

Thanks.

Re: Disabling auto detection for node & manager

Posted: Wed Nov 30, 2011 9:46 pm
by JDHill
There is no explicit function for doing this, but it is easily accomplished by redefining some plugin methods. Just go to your SketchUp plugins folder and create a file named maxwell.mod.rb. Open the file in Notepad and paste in the following Ruby code:
Code: Select all
require 'maxwell'

module MX

  def MX.is_network_node_running?
    return true
  end

  def MX.is_network_manager_running?
    return true
  end

end
This file will be loaded after the main maxwell.rb file -- what it does is to fool the plugin into thinking that the node and manager are already running.

Re: Disabling auto detection for node & manager

Posted: Thu Dec 01, 2011 4:46 pm
by Delineator
worked perfectly, thank you!