Hi Barry & Grendel,
re:
> just tried Auto dimension script and got this error.
> TypeError: undefined is not a constructor (evaluating 'moi.geometryDatabase.addConstructionLine( begin, end )')
The script is using a new function in MoI version 5, you'll get this error if you are running it in v4 or earlier.
I'll update it to show a warning message and bail out if you're running it with v4.
> Also cant this function be achieved with the standard Aligned dimension tool anyway ?
Yes that's correct, this version is just a convenience function that determines whether to make it horizontal, vertical, or aligned by the location of the 3rd point pick instead of determining it by launching different "dim horizontal", "dim vertical" or "dim aligned" commands.
If you are placing a whole bunch of them it can speed things up since you can repeat this one command and control it by the 3rd pick.
- Michael
|