Script outputs a circle but not a cylinder

 From:  Michael Gibson
5441.20 In reply to 5441.18 
It appears to be the call to moi.vectorMath.createFrame() - that function takes 3 optional arguments for an origin point and x and y axis directions, but those optional parameters are not behaving the same way between Windows and Mac at the moment, it's not working on Windows to omit those arguments right now.

If you switch that to call moi.vectorMath.createTopFrame() instead then it should probably work everywhere, like this:

script: var factory = moi.command.createFactory( 'box' ); factory.setInput( 0, moi.vectorMath.createTopFrame() ); factory.setInput( 2, 20.0 ); factory.setInput( 3, 20.0 ); factory.setInput( 4, 20.0 ); factory.commit(); moi.view.resetAll;

- Michael