Watch the video:
Timestamps:
0:00 - Explanation
0:28 - Drawing around an object
1:21 - Adding Area script to Adobe Illustrator
3:46 - Finding area script in Adobe Illustrator
4:00 - Get Area of a shape in Adobe Illustrator
4:27 - Is this accurate? Mostly.
5:57 - Another Adobe Illustrator area script
Want to find the area of a shape or object in Adobe Illustrator? This video shows you everything you need to know about setting up a simple script to get the area of something you have selected in a few clicks! After setup, it’s there when you need it!
Script:
—————————————————–
alert(
“Area (millimeters): " + (Math.abs(app.activeDocument.selection[0].area/8.03521617).toFixed(4)) + " mm” +
“\nLength (millimeters): " + (app.activeDocument.selection[0].length/2.8346567).toFixed(4) + " mm” +
“\n\nArea (inches): " + (Math.abs(app.activeDocument.selection[0].area/5184).toFixed(4)) + " in” +
"\nLength (inches): " + (app.activeDocument.selection[0].length/72).toFixed(4) + " in"
);
Alternative script: https://community.adobe.com/t5/illustrator-discussions/simple-script-to-output-selected-object-length/m-p/11601272