Copy link to clipboard
Copied
Does Illustrator have a tool to quickly put measurements on a drawing so my customer can get an idea of how large there sign is?
Long answer: no.
There are some workarounds, like using scripts.
And there are plug-ins:
CADtools
VectorScribe
Both can do dimension lines, even in scale.
Copy link to clipboard
Copied
here is the code to change the units
// Set up data for the Measurements
var ptWidth = myBounds[2] - myBounds[0];
var ptHeight = myBounds[1] - myBounds[3];
var tmpWidth = Math.round(ptWidth);
var tmpHeight = Math.round(ptHeight);
var finalWidth = tmpWidth /72;
var finalHeight = tmpHeight /72;
for inches:
var finalWidth = tmpWidth /72;
var finalHeight = tmpHeight /72;
for pixel:
var finalWidth = tmpWidth ;
var finalHeight = tmpHeight ;
for mm:
var finalWidth = tmpWidth /2.83823529;
var finalHeight = tmpHeight /2.83823529;
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Very clever. I've had so many problems copying scripts on this forum as the editor puts in stupid breaks and gaps and I have to search them out and fix. That is the best solution I have seen! So simple.
Copy link to clipboard
Copied
I cooked up a Mac version plug-in that adds dimensions for selected art in inches, cm or mm. If you'd like to try out a beta version, drop me a line at info(at)worker72a.com.
Copy link to clipboard
Copied
Has anyone tried Doug Habbens' plugin mentioned above?
The Worker 72a Dimensions plugin.
Would love to hear feedback on this.
Thanks !
Copy link to clipboard
Copied
Dimension_72a (Mac only plug-in, CS6 & CC) is available for 20 USD at worker72a.com.
• Adds dimensions in inches, MM, CM and pixels with optional scale factor
• Overall or Segment dims
• Include path tool that displays length and angle as you draw
• 30 day money back guarantee
Copy link to clipboard
Copied
Back at it again.
I don't think Illustrator 2017 has added this feature yet. if so, please point me to it.
I just created the script again, but for some reason it creates the height and width as the same number
Where am i looking to correct the code? or can someone repost the code if they find the error.
thanks
Copy link to clipboard
Copied
Bump?
Copy link to clipboard
Copied
Line 31 has a typo in it. Change it to:
var finalHeight = (tmpHeight/72).toFixed(2);
Copy link to clipboard
Copied
Thank you thank you thank you!
Copy link to clipboard
Copied
Thank for michaelg25609594's help to point out the error I made on the tweak code I posted and I am sorry for ...For those who prompt for creating cutter swatch. The reason is when u deleted unused swatches, you may accidentally deleted the black and white swatch as well. The solution is create a swatch name it Black and set it to NON global color cmyk 0 0 0 100.
Copy link to clipboard
Copied
This is awesome, it works like a charm.
Question though, it behaves bizarely when the dimension is smaller than the text box. Is it possible to reduce the ensemble to make it fit inside the dimensions ?
Thxs a bunch
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The Nick Blakley script, does anyone know what to change so that it reports the proper height? Right now it posts the same height and width.
Copy link to clipboard
Copied
Sharesky
I have used a script from somebody I cant remember now and it works well, is not my script I don't own any rights to it.
here you can download it if you wanna give it a try
Copy link to clipboard
Copied
Not sure this free script has been mentioned. I've used it with good success – Specify.jsx.
https://adamdehaven.com/blog/dimension-adobe-illustrator-designs-with-a-simple-script/
Copy link to clipboard
Copied
Worked great! Easy to use and saved me a ton of time! Thanks!!
Copy link to clipboard
Copied
This worked like a dream.
Thanks.
Copy link to clipboard
Copied
Thank you all! Yes rcraighead, I discovered the Specify script. Its fantastic, and does exactly what I need. I modified a few things in the defaults so I dont have to set them each time I use it, and its been working great!
Copy link to clipboard
Copied
So there;s all of these paid plug ins and 200 line scripts - how about you just add the functionality Adobe! WTF? For what you all charge and all the useless crap in the program, maybe add something your customers want. Can't be that difficult.
Copy link to clipboard
Copied
I use and recommend this free script: https://www.marspremedia.com/software/illustrator/dimensions-illustrator