Scripting

 From:  dune1982
7238.30 
Hello
Everytime when I think: well now you know it. I seem to hit a script that I cant handle.

Today I'm trying to make a sweep:

var factory = moi.command.createFactory( 'sweep' );
factory.setInput( 0, triangle ); //is a objectList with three lines joined to a triangle
factory.setInput( 1, helix ); //is a objectList with a helix in it
factory.setInput( 2, ); //no idea what to set here
factory.setInput( 3, ); //no idea what to set here
factory.setInput( 4, 'none' );
factory.setInput( 5, 'flat' );
factory.setInput( 6, true );
factory.setInput( 7, true );
factory.setInput( 8, true );
// I stoped here as I have no and whant no scaling
factory.commit();

I only get a calculation failed out of this, i guess it is because auf 2 and 3 missing.