Mobile app version of vmapp.org
Login or Join
Lee3735518

: Rotation target and illustrator actions I'm building a set of actions to help myself create pie charts, one segment create a line segment at a certain point (from the artboard center out), and

@Lee3735518

Posted in: #AdobeIllustrator #ChartDesign #DataVisualisation #IllustratorScripting

I'm building a set of actions to help myself create pie charts, one segment create a line segment at a certain point (from the artboard center out), and the attempts to rotate it around the same point (the artboard center), copy and rotate again a different amount (I am using modals to set the exact angle each time), and then again twice more. The issue is that each time the segment rotates the rotation origin changes as it is relative to the line segment, rather than the global space of the art-board.

Is there a way to either
A) Create a static rotation origin (perhaps tied to another object)
or B) calculate the new rotation origin based on the amount of rotation within the action itself.

Any suggestions?
Also, open to alternative solutions rather than actions, I need to create a large number of uniform pie charts with varying segment values (the chart tool winds up taking far longer)



Target final product (currently I am creating these with the parts of the action that work and doing the rotation portion manually)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee3735518

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh909

You can use the transform effect rather than a regular transform, which will let you set the transform origin from the dialog. Actions won't record effects so you will need to use the Insert Menu Item... option from the Actions panel's dropdown and select the effect.

Since the transform is an effect rather than an actual transform you may want to expand appearance on everything at the end of your action.

Here is a quick example using transform effects:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme