Illustrator Scripting :: Moving All Layers Into Single Layer

Nov 20, 2013

I'm new in scripting and i need to make a script that moving all layers into a single layer (in Illustrator i press CTRL+A then CTRL+G in layers and works) but i need that in script.

View 2 Replies


ADVERTISEMENT

Illustrator Scripting :: TIFF Import Options - Flatten Layers To A Single Image

Mar 26, 2013

Running a script to open up files and convert to another type. When it gets to a TIFF type file a dialog window titled 'TIFF Import Options' is opening. This windows has an Options column that contains two radio selections for 'Convert Layers to Objects' and 'Flatten Layers to a Single Image'. How would I open the file with the 'flatten layers to a single image' set?

View 1 Replies View Related

Illustrator :: Combining Layers To A Single Layer?

Mar 11, 2014

I have just been updated to CC at work and I am having all sorts of issues. But the two main pressing ones are:
 
1. When I save, it keeps "not responding". Sometimes it crashes, sometimes it doesn't. When it does, I lose everything. It takes anywhere from 1 - 5 minutes to save. I thought it was an issue with a large file, but it does it to me in a one page file with only one photo in it as well.
 
2. Layers. This is the killer right here. Again, I thought this was a capatability issue when using old files, but it has proved me wrong. As I create layers and new artwork, it works fine. However, once I save and re-open the file, all the artwork has been combined to a single layer and then I have to dig it all out to do anything to it, only to have it do the same thing the next time I repoen the file.
 
Is it me? Is it default settings somewhere in CC? I have major deadlines that I think I am going to miss if things keep continueing the way they are.
 
System Specs:
Illustrator CC 16.0.3  (Tried to update to 17 and it said everything was up to date, twice)
Windows 7
Dell Optiplex 7010 with Core i7 and brand new AMD video card.

View 4 Replies View Related

Illustrator Scripting :: Change Layer Colors Within Layers Palette In CS5?

Apr 3, 2012

For example I would like to make my images layer Green and my copy layer Red in my layers palette.

View 6 Replies View Related

Illustrator Scripting :: Raster Multiple Layers In AI Without Flattening To 1 Layer

Aug 8, 2012

I am trying to turn every layer in my .ai file to a raster image without flattening to one layer.
 
-The big issue I am dealing with is the agency that just built a paralax site for us refuses to export to PSD. I have tried every possible way to do this but keep getting the file is to big message. To add to it they had it all on 1 layer. I was able to release to sequence, but now am trying to see if rasterizing the objects will work.

View 1 Replies View Related

Illustrator Scripting :: Replace Layer Names In Selected Layers Only?

Jan 22, 2014

I am using this script to find and replace words in layers. (The script only targets particualr words, rather than the whole layer name).
 
I would like to make it so it targets selected layers only.
 
I have found this script which loops through selected layers only, but I am not sure how to add the find and replace layer name functioality.

View 7 Replies View Related

Illustrator Scripting :: Ungroup All Groups Then Create A Single Group?

Jul 30, 2013

I'm having trouble getting a script together where I can ungroup all groups in a document, then put everything under a single group. Everyhting I'm working with has a single layer, but for some of the arts I'm importing have groups within groups ect. To run certain actions I've made properly after I need eveything to be in one, single group.
 
I searched for an answer and found this (wirtten by Carlos Canto)
 
function ungroup(whereToUngroup, group) // where to ungroup? layer, document, other group?
{
for (i=group.pageItems.length-1; i>=0; i--)
group.pageItems[i].move(whereToUngroup, ElementPlacement.PLACEATBEGINNING);
}
 
But I'm having trouble getting it to work.

View 5 Replies View Related

Photoshop :: Linking Adjustment Layers To A Single Layer

Oct 17, 2006

I would like to add an adjustment layer to a photoshop CS2 file that has an effect on a particular layer rather than all of the layers. I have tried adding the adjustment layer from the icon at the bottom of the layers palette, from Layers, New adjustment layer, and I have also tried linking the two layers. In all cases the adjustment made applies to the whole image. I am sure that previous versions of Photoshop had this facility.

View 6 Replies View Related

AutoCad 3D :: Multiple Layers Moved To A Single Layer?

Jul 6, 2011

I'm working on a drawing and I need to take multiple layers that I have drawn (which make up one unit) and basically merge them together so that I can replicate and move them about and place them where they need to go in the larger unit that they live in.

I tried playing with grouping in the Layers Manager, but that doesn't seem to be doing anything for me. Not sure if I'm just doing something wrong, or if there is another way to go about this.

I'm attaching my CAD drawing so you can see what I'm up to. In this drawing, there are basically two groups of layers. Those that make up the Control Tower itself, and another group for what's called a Tajimi Rack. I need to have all the layers for the Tajimi Rack made as one so that I can move that object around without having to move the layers one at a time. (There is a lot more that needs to drawn into the Tajimi Rack, but once I know how to merge them all together, I'll be in a good position to carry forward.)

I also need to know how to then take that new Tajimi Rack layer and duplicate it (I'm looking to place about a dozen of the Tajimi Racks in the control tower.

FWIW, I'm a self taught CADer. By that I mean I have to use CAD in my job but it's always done in a 2D setting where I'm simply looking through roofs with other drawings laid under for rigging purposes. This drawing things in 3D concept is something I'm just making up as I go along. 5PTS Control Tower.dwg

View 5 Replies View Related

GIMP :: View Single Layer By Itself - Browse Layers

Apr 25, 2008

In the context of an animated GIF, or any other context where I have a multilayer image, I would like to see a single one all by itself. How do I do that?

View 3 Replies View Related

Illustrator Scripting :: Moving Object (JSX) Using Its Width?

Mar 17, 2013

Is there any way to move a object using its width? ex: "move to left a box with 10cm(width) using this value (10cm)". But I want to capture the width of any selected object.

Another thing: i want to select objects with same fillcolor and do something like: pathfinder>>add;

View 9 Replies View Related

Illustrator Scripting :: Moving Anchors While Keeping Handles Relative

Jul 2, 2013

I am using a script to move anchor points on a path that I have.  When I move the anchors, the handles remain in the same location and I am getting very poor results.  I was wondering if there was a way to move handles WITH the anchor points.  Basically keep them relative to the anchors.
 
Below is how I am moving the anchor.  I know that you can use leftDirection and rightDirection to move the handles, but I would like them to move the same way they would if you moved the anchors when selecting them in Illustrator.
 
Set currentPoint = targetPathItem.PathPoints(13)
currentPoint.Anchor = Array(-1537.21, 2735.96)

View 1 Replies View Related

Illustrator Scripting :: Write A Script That Renames A Layer And Group Within The Layer?

Jul 25, 2013

I'm trying to write a script that renames a layer, and group within the layer, then an object within the layer (but not a part of the group) and have it run in a loop.
 
Here's what I've got so far, the group rename doesn't work.
 
 #target Illustrator 
var doc = app.activeDocument;
 idLayers(doc)//IRename layers
idGroups(doc)//Rename groups
 function idLayers(doc){

[code]....
 
I haven't put in anthing to rename the single object yet since I cant even get the group rename to work. I suspect that the group re-name section isn't working because I'm either using bad syntax or an invalid command.

View 3 Replies View Related

Illustrator Scripting :: Get Layers By Name VBA?

Apr 7, 2012

Is it possible to reference layers or groups by their names instead of their index using VBA? If so, what is the sytax? I know you can do it in Extendscript, but I'm not finding info for VBA.

View 7 Replies View Related

Illustrator Scripting :: How To Export Layers To SVG

Feb 13, 2013

I am trying to export layers to SVG, but I need to access the "Use Artboards" option in my ExportType.SVG options.  I do not see it in the Javascript reference: [URL]....

View 8 Replies View Related

Illustrator Scripting :: Can Create Layers With CSV File?

May 9, 2013

Is there a script that can create layers with csv file?

View 5 Replies View Related

Illustrator Scripting :: Split Text Into Layers?

Jun 30, 2013

script that is able to do the same as this photoshop one [URL] ...., I would use that one in photoshop but its not working in CS6.
 
find a script that will seperate the text into layers ready for export to After Effects to be used in Kinetic Typography  pieces.

View 3 Replies View Related

Illustrator Scripting :: Move Layers To New Artboard

Feb 18, 2013

I'm trying to create a script via javascript for Illustrator.
 
My problem is : I have a AI file with multiple layers, i want to create one artboard per layer, in order to export a multipage PDF ( each page contain 1 layer ).
 
The layers represents the differents type of print ( vernish, color, hot gold, pressure ... ) and/or color type ( Pantone, CMYK, cut, kisscut ... ). My client want a PDF for see each type of print or color type per page.
 
I'm trying 2 ways :
 
1st solution : Create new artboards, and duplicate ( or move ) layers content on the new artboad, but the function move/duplicate don't work to move content on another artboard.
 
2nd solution : Create new document with the same number of layers as artboard and duplicate layer to the new artboard on the new document.

View 6 Replies View Related

Illustrator Scripting :: Expand And / Or Collapse Layers?

Mar 4, 2013

Whenever I open a file, Layers are randomly expanded in the Layers palette.
 
Is there a way to run a script that collapses and/or expands all layers?

View 3 Replies View Related

Illustrator Scripting :: How To Make A Script For Layers To PDF

Feb 6, 2014

make a script for layers to pdf?
 
ADHESIVE, WHITE, Layer-8, Layer-7, Layer-6, Layer-5, Layer-4, Layer-3, Layer-2 and Layer-1 needs to be on seperate pages.
 
Jobbnr and Passmerk / Registrationm. (incl. sub-layers) needs to be on all pages!!
 
HJELPELINJER, COLOR, CARRIER, Guides and Field Background don`t need a page.
 
Is it possible to make such a script?

View 1 Replies View Related

Illustrator Scripting :: Loop Through All Layers And Sublayers?

Apr 26, 2012

is there a way that I can loop through all layers and sublayers looking for a name of a layer? I have one that loops through only top level layers. I am thinking I have to somehow incorperate all pathItems, groupItems and the like to incorperate all types of "layers" there might be, since a group is technically not a layer but a groupItem.
 
this is what I am doing so far:
 
for (var i = 0; i < numberOfLayers; i++) {
var customName = "div structure";
var myLayer = app.activeDocument.layers[i];

[Code]....

View 6 Replies View Related

Illustrator Scripting :: How To Add Prototype To Layers Object

Jan 24, 2013

I am trying to add a prototype to the Layers object so I can do something like try{ .getByName(name) catch{ return null.   For when the named layer doesn't exist.  (It gives an error for me in CS5). So unfortunately me trying to go Layers.prototype. my method  doesn't seem to work at all.

View 3 Replies View Related

Illustrator Scripting :: Opening Files As Layers?

Jul 6, 2013

Is there a way to open a file as a layer? I want to open multiple files in the same window to make a collage. Currently, as I open each file they all open in separate windows. The "Open Document As Tabs" option in the User Interface preferences is not selected.

View 1 Replies View Related

Illustrator Scripting :: Deleting And Replacing Layers?

May 1, 2013

So I'm trying to create a fairly simple script that will measure the size of art on the artboard for making printing plates. That part I have working. But once I have made one file, I have to delete the measurements layer manually (which is where the script puts them) so that I can make the next one. I need the script to check and see if there is a layer called "measurements" delete it and then create a new one called "measurements" in which to put the dimensions of the (new) artwork. This way I can keep making files and "saving as" with a new name.

View 1 Replies View Related

Illustrator Scripting :: Removing Empty Layers

Feb 13, 2014

I am looking for a script that will look through all the layers in my file and if there are no objects on the layer I would like it to delete them.how to remove a layer with a script, just not how to identify a layer or many layers that may no have objects on them.

View 6 Replies View Related

Illustrator Scripting :: Placing All Symbols Into Layers

May 14, 2012

How I can place all my symbols at one time in the File and on there on layers? is this possible?
 
The only dialog box i could find is in the corner of the symbols palette is "Place symbol"... I tried to create an action but it wont go to the next symbol.

View 2 Replies View Related

Illustrator :: Moving Paths In Layers

Jan 25, 2013

I have selected paths on the artboard and would like to be able to move them into one layer.
 
As there are a large number is there anyway of moving them to a new layer without selecting them (blue highlighting) and moving them?
 
They are selected on the artboard so the colour square appears next to them in the layers panel but I can't move them to a new layer without selecting them (even using ctrl or shift is still quite time consuming).

View 2 Replies View Related

Illustrator :: Moving Layers With Respect To One Another?

Jan 10, 2013

I'm trying to trace a new map using parts of two maps. I can trace the parts I want of one map, imported as a template, but now I want to import the other map as a template, and reposition my tracing over the second template.  When I import the second template, it's in the wrong place (as expected), but I can't move my tracing layer to a different place over the new template -- both layers move together.  Is there a way of moving layers independently?

View 1 Replies View Related

Illustrator :: Convert All Artwork In Single Layer?

Dec 3, 2013

In illustrator i design some artwork and now the total layers are about several hundreads. so now i'm about to combine all those artowrk layers in one layer, so that it will be a nice clean file with text layers that are to edit and one single artwork background layer.

View 9 Replies View Related

Illustrator Scripting :: Group Items Are Returning As Layers

Apr 5, 2012

I have a layer that contains two clipping groups (groups with a clip mask and other art).  When I call layer.groupItems it returns an empty array.  When I call layer.layers it returns the two clipping groups.  I need to know if these layers are clipping groups, but if they are coming back as layers how can I figure that out?

View 8 Replies View Related

Illustrator Scripting :: Create Fitted Artboards From Layers?

Oct 8, 2012

Any script that will create artboards for each separate layer?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved