Thanks Brian
will give it a go and let you know how I get on.
Cheers
Barry
Ps
getting this error when changing switch to objects
TypeError: undefined is not an object (evaluating 'this.inputs[slot].type = type')
moi://appdata/nodeeditor/core/main.js line 1871
1867: */
1868: LGraphNode.prototype.changeInputType = function(slot, type, name)
1869: {
1870: this.disconnectInput(slot);
1871: >> this.inputs[slot].type = type;
1872: this.inputs[slot].name = name || this.inputs[slot].name;
1873: this.size = this.computeSize();
1874: if (!this.graph) return;
1875: this.graph.refreshNodeInfo(this.id);
|