MoI discussion forum
MoI discussion forum

Full Version: Automatic dimension detection future request maybe?

Show messages: All  1-10  11-17

From: Frenchy Pilou (PILOU)
29 May   [#11]
French version done! )
In fact nothing to do, was yet there! :)
he new DimAuto uses the same UI as the DimHorizontal, DimVertical and DimAligned so it uses those already translated strings. :)
From: Michael Gibson
30 May   [#12] In reply to [#7]
Hi Matadem,

re:
> How do I setup when I start a new drawing either in mm, cm , inch etc
>
> so I can predefine the grid for each type of measurements?

Currently grid properties are global. There isn't anything built in for storing them in a template file but you could set up a script to help with that.


> Let say if it is in mm ...the grid is set at 1
> if it is in cm the grid is set at 0.5

A script that would set this goes like this:

script: if ( moi.geometryDatabase.units == 'Millimeters' ) { moi.grid.size = moi.grid.snapSize = 1.0; } else if ( moi.geometryDatabase.units == 'Centimeters' ) { moi.grid.size = moi.grid.snapSize = 0.5; }

Or another possible way is you could set some values in document user text under File > Notes > Document user text and then the script could look there to get the size to set. Let me know if you want to try that way.

You can open a file as a template file by using right click on the File > Open instead of left click.

- Michael
From: Matadem
30 May   [#13] In reply to [#12]
Good day...the second option looks like a better choice.
Question on the second choice...as soon as Moi starts it automatically look for the script or I need to activate it?

More automatic as possible would be great.

Tnx!
From: Michael Gibson
30 May   [#14] In reply to [#13]
Hi Matadem,

re:
> Question on the second choice...as soon as Moi starts it automatically look for the script or I need to activate it?

If you're always starting up a new window for this then it should be possible to have the script automatically run by putting it in the appdata\startup folder.

If you want it to work on an already open window you would need to trigger it yourself.

- Michael
From: mk (MARKY)
31 May   [#15] In reply to [#2]
Hi Michael,

Works like a charm.

Thank you,
Marek
From: Frenchy Pilou (PILOU)
31 May   [#16]
on inclined plane! :)


From: Finema
2 Jun   [#17] In reply to [#16]
Really cool this plugin.
Thanks a lot.

Show messages: All  1-10  11-17