Skip navigation
davebowker
Currently Being Moderated

Read a number from a variable, and rotate a shape

Jul 26, 2012 3:47 AM

Tags: #illustrator #rotate #extjs

Hey all,

 

I'm using the variables panel in Illustrator to pull a data set I've got.

 

For example there's 2 text variables and 1 number going from 0-359. I'm looking for a script which looks at the variable name and pulls the number, then uses that number to rotate a shape by that many degrees.

 

I have no experience in scripting in illustrator, just hoping there's a wizard here who might be able to help?

 

Thanks for any help,

Dave

 
Replies
  • Currently Being Moderated
    Jul 28, 2012 4:15 AM   in reply to davebowker

    IMO you either use the app's data driven graphics or script… to do this sort of work easier than trying to work with both… My guess would be to just read a CSV or TDT text file and do rotation your stuff… There are plenty of CSV examples in this forum ( should the crappy search work )

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 18, 2012 8:30 PM   in reply to davebowker

    If you still haven't found a way to do this, I can do it in about a day, and am available for contract work at reasonable prices.  PM me, and we can set something up.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points