I am trying to work out how to define a set of properties in one style template on an illustrator file them import these properties to use in another. For example I have a pink rectangle named as 'outerbox' that is 50mm x 100mm saved on an illustrator file called style1.ai
I would use extend script to draw a box called say 'box1' then load the width and height from the style1 file and apply to the dynamically drawn rectangle. I can see that I can use graph styles and stylesheets to apply font weights etc.
I need to do this as I will be using a script to draw a series of objects that will have to be drawn to a series of varied shapes and sizes that will change over time. It would be better if I could set up a set of visual templates that could be accessed by other designers rather than have a lot of code to wade through. Tried looking for this but the nearest I could find was the object watch function. Its the accessing the properties from an external file I can't find
Thanks Bob