I need to know if there is a way to measure/calculate the enclosed area of a given vector shape with Illustrator CS6.
The mentioned thread mainly seems to list methods not compatible with CS6 – plus some sort of scripting approach (?) which is not compatible with me
Then why don't you just ask how to handle scripts?
Copy the line of code into a text document (ASCII), save it as a .jsx in Illustrator program folder > Presets > Scripts, restart Illustrator and select from File > Scripts.
Find it somewhat surprising that such an «area feature» isn’t included in the standard Illustrator features set
And it is noteworthy that CS6 is the worst version in terms of hidden solutions and use of ready external means.
As a joke you could save the object in question, place it in a new document in 10 (the one before (the first version of) CS), apply the free Patharea filter from Telegraphics, and see the area.
I'm sorry to be so ignorant, but could someone please provide what precisely needs to be copied into the text document and saved as .jsx (in order to calculate the area of any given vector shape in Adobe Illustrator CS6)? I've tried several variations of the code from the above link, with and without the beginning "alert" and parenthesis, and with or without the closing semicolon, but am always getting a syntax error when I try to launch the script in Illustrator.
Thanks for your help.
This is the line
alert("Area & Length\nArea: " + (app.activeDocument.selection.area/5184).toFixed(3) + "\nLength: " + (app.activeDocument.selection.length/72).toFixed(3));
This is for inches to 3 decimal places.
Copy the above and paste into a new window in either the ExtendScript Tool Kit (ESTK found in Applications/Utilities/Adobe Utilities) or in a text editor. If you use the text editor make sure you save it as plain text with a .jsx extension. Place it in the Application/Adobe Illustrator CSX/Presets/en_US/Scripts folder and restart. Open a file, select an object and run the script from File/Scripts.