Hi. For new units (feet, yards, etc.) your function _getUnits()_ is incorrect. The ExtendScript API doesn't have direct access to them yet. https://illustrator.uservoice.com/forums/601447-illustrator-desktop-bugs/suggestions/43247742-illustrator-rulerunits-returns-unknown-for-feet
Hi. For new units (feet, yards, etc.) your function getUnits() is incorrect. The ExtendScript API doesn't have direct access to them yet.
https://illustrator.uservoice.com/forums/601447-illustrator-desktop-bugs/suggestions/43247742-illustrator-rulerunits-returns-unknown-for-feet