Hi Ray and Marc
You're welcome.
I'm glad it's been useful for you.
I also find it useful if you use the script alongside other commands. E.g. fillet, blend
You can use this code. It will open the script in a separate window.
The "Done" and "Cancel" buttons become useless though.
code:
script: var sidePaneWidth= moi.ui.getUIPanel('moi://ui/SidePane.htm').document.width; moi.ui.createDialog( 'moi://commands/LightShift.htm', 'defaultWidth:sidePaneWidth,defaultHeight:sidePaneWidth' );
|