Illustrator script that compares object width to length
Hi,
For our product catalog we make linedrawings of all our products. For this we use our 3D designs and export a certain perspective into a drawing. This object we then need to fit it into a 50x50mm square artboard, put linewidth on 1pt and export it to bmp. The last two steps I'm able to complete with Actions in Illustrator.
For the first step I need to scale the object down to 50mm in width OR height, depending on the shape.
This is why I need the script that compares the object width to object length and depending on the outcome activate either a script that scales length to 50mm and the width proportionally or vice versa.
Is this possible? Does this post belong here?
