Jump to content

 
Photo

Illustrator script layers select

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Paul McMahon

Paul McMahon

    Newbie

  • Validated Member
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Dublin,Ireland
  • Interests:Cartography,graphics
  • Ireland

Adobe Illustrator CS5

I need a script which will select each named layer one at a time.
I could have 50 layers in a file.

If I can do this I can apply an attribute note to the contents of the individual layer and I can then run an action to select by attribute and apply a style. I can do this part but the fly in the ointment is that I can only select each layer manually one at a time.

The process I will use is to import a map file with many layers and run this script to select each layer and apply a style. I am using Illustrator CS5 with MapPublisher on Windows XP.

Does anyone know how to do this?

#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,833 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Since you're using MAPublisher, why not set up a Map Theme to assign styles based on layer names (the layer name is stored in a hidden attribute #LayerName)?
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
Paul McMahon

Paul McMahon

    Newbie

  • Validated Member
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Dublin,Ireland
  • Interests:Cartography,graphics
  • Ireland

Thanks Hans

I`ll check it out and see how it pans out.
cheers
Paul

#4
Ted Florence

Ted Florence

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 190 posts
  • Gender:Male
  • Location:Toronto
  • Interests:Making great mapping software.
  • Canada

I do not completely understand what you are saying and what you want to do but I am pretty sure that since you already have MAPublisher you are well equipped to do this without the need for a separate script.
Perhaps an email directly to our support folks might help you get there.
Ted

Ted Florence

Avenza Systems Inc.

When Map Quality Matters ®

www.avenza.com

 

Cartographic and spatial imaging solutions for Adobe Creative Suite

Mobile mapping solutions for using, selling and distributing maps to mobile devices

 

 

 

mp_logo.gif    gi_logo.gifpdf-maps-icon.png
 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->