Hi Martin, you can also createFrontFrame() and then set just the origin of the frame by setting the .origin property on the frame.
So something like:
var frame = moi.vectorMath.createFrontFrame();
frame.origin = moi.vectorMath.createPoint( 5, 10, 2 );
Also for the next v3 beta I've tweaked moi.vectorMath.createFrame() so that the optional arguments there will work ok on Windows too when they are left out, there seems to be a little difference in behavior with how optional arguments are handled between the regular Windows OLE automation mechanism and the one in Wine, but it only takes a minor modification for me to make it work ok on both.
- Michael
|