Auto dimensions

 From:  Peticel
11637.8 In reply to 11637.7 
Hi Michael!

Thank you for the info. I'm still having some issues.



To do it by preset, go to Options dialog > "Dimensions" and set up a preset that has the properties how you want them, then pass the index of that preset as the 2nd parameter to setInput, like this: factory.setInput( 3, preset_index );
This works perfectly but the preset does not save. Every time I re-open MoI, I only have the default preset and I can't find any way to save it. Maybe I could change the default preset? where is it stored?



Probably it would be easiest to set up a preset for the size and alignment properties since there's a UI for those under Options > Dimensions but you can't control the text to include units in a preset yet so for that part set the text directly on the dimension object as above. - Thanks, it worked.