• Global community
• Language:
• Deutsch
• English
• EspaÃ±ol
• FranÃ§ais
• PortuguÃªs
• æ—¥æœ¬èªžã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£
Dedicated community for Japanese speakers
• í•œêµ­ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Exit
• Dimension Lines

# Dimension Lines

New Here ,
Dec 03, 2013 Dec 03, 2013

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?

TOPICS
Feature request

Views

116.9K

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Community Expert , Dec 03, 2013 Dec 03, 2013

There are some workarounds, like using scripts.

And there are plug-ins:

VectorScribe

Both can do dimension lines, even in scale.

45 Replies 45
New Here ,
Mar 13, 2017 Mar 13, 2017

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;

1. xText.contents = finalWidth + "inches";
2. yText.contents = finalHeight + "inches";

for pixel:

var finalWidth = tmpWidth ;

var finalHeight = tmpHeight ;

1. xText.contents = finalWidth + "Px";
2. yText.contents = finalHeight + "Px";

for mm:

var finalWidth = tmpWidth /2.83823529;

var finalHeight = tmpHeight /2.83823529;

1. xText.contents = finalWidth + "mm";
2. yText.contents = finalHeight + "mm";

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Mar 29, 2022 Mar 29, 2022

Copied

LATEST

For Millimeters, my measurement is coming up slightly shorter than actual.

What is the 2.83823529 based on? Pixels to mm?

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Aug 07, 2018 Aug 07, 2018

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.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
May 17, 2014 May 17, 2014

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.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Feb 03, 2015 Feb 03, 2015

Copied

Has anyone tried Doug Habbens' plugin mentioned above?

The Worker 72a Dimensions plugin.

Would love to hear feedback on this.

Thanks !

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Feb 07, 2015 Feb 07, 2015

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

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Dec 29, 2016 Dec 29, 2016

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

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Jan 24, 2017 Jan 24, 2017

Copied

Bump?

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Feb 06, 2017 Feb 06, 2017

Copied

Line 31 has a typo in it. Change it to:

var finalHeight = (tmpHeight/72).toFixed(2);

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Feb 06, 2017 Feb 06, 2017

Copied

Thank you thank you thank you!

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Jun 06, 2017 Jun 06, 2017

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.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Jul 18, 2017 Jul 18, 2017

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

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Nov 19, 2017 Nov 19, 2017

Copied

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Mar 14, 2018 Mar 14, 2018

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.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 14, 2018 Mar 14, 2018

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

https://carvajal-my.sharepoint.com/:u:/p/mario_arizmendi/EYMlx0zT_DlIiCd8z6355vsBOg8VdMDelepBRkXiTIk...

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
LEGEND ,
Mar 14, 2018 Mar 14, 2018

Copied

Not sure this free script has been mentioned. I've used it with good success â€“ Specify.jsx.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Feb 27, 2020 Feb 27, 2020

Copied

Worked great! Easy to use and saved me a ton of time! Thanks!!

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Mar 10, 2020 Mar 10, 2020

Copied

This worked like a dream.

Thanks.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Explorer ,
Mar 15, 2018 Mar 15, 2018

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!

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Mar 05, 2021 Mar 05, 2021

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.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Nov 22, 2021 Nov 22, 2021

Copied