Illustrator SDK :: Count Sublayers In A Layer?
Aug 12, 2013
Is there a possibility to count (only) all sublayers in a given layer? CountLayers from LayerSuite is only counting top-level layers and that isn't good enough.
Edit: I am using CS SDK 5.
View 2 Replies
ADVERTISEMENT
Feb 17, 2013
I have 3 similar but different documents. I made the edits to one of those and now I need to bring that over to the other 2 files. I know I can copy and paste the areas I need to the other 2 files but when you do that, everything merges into a single layer. How do I do this and keep those items in their own sublayers as well?
View 5 Replies
View Related
May 7, 2012
I just installed cs6, and when I open files in Illustrator, it opens all of the layers which contain sublayers. It does this even if all the top-level layers were closed during the previous save. The files I work with have a large layer-structure, so re-closing the top-level layers every time I open a file wastes a lot of my time. Can I close all layers at once, or better yet, can I stop Illustrator from opening all of the layers automatically when I load a file?
If not, then WHY on earth not? I can't be the only one who opens and closes large files with lots of layers and sub-layers...
Edit: I also am noticing this problem is even worse in cs6, because openning and closing individual layers plays a little animation of rotating the triangular arrow before the layer which, cute as it may be, just makes the task of individually closing up all my layers that much more tedious. Can I turn off that little animation of the triangular arrow when opening and closing layers?
View 8 Replies
View Related
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
Jul 3, 2012
We all hide and unhide things constantly as we work.But when you do a Show All (CTRL+ALT+3), to effectively unhide all hidden objects, is there a way to do so without unhiding all hidden sublayers as well.
When I do a Show All, even sublayers that were hidden when the file was opened (and never unhidden) unhide along with all hidden objects.
View 2 Replies
View Related
Apr 28, 2012
I've written a snippet that will unlock sub of sub layers up to 10 layers deep. It works fine; however I'm wondering if there is a better way to do this? I don't know that 10 is the maximum of sub layers I'll need to unlock but it's a fairly safe guess. I'd like to be more efficient and know that no matter what the layer structure of the file my script has unlocked any and all sublayers.
Is there a different approach or way to think about this problem where you can script for a potentially endless number of sublayers, and subs of subs, etc.?
var doc = app.activeDocument;
var layerCount = doc.layers.length;
for (i=0; i<layerCount; i++) {
var currentLayerI = doc.layers[i];
var layerCountII = currentLayerI.layers.length;
for (ii=0; ii<layerCountII; ii++) {
[Code] .....
View 4 Replies
View Related
Jun 5, 2008
I wanted to ask if by chance any of the scripting gurus here happen to have written an AI script that will take a number of selected sublayers/sub-sublayers and move them so they become top-level layers?
I am really needing this very badly, given that After Effects can only handle AI layers as separate entities. So I find myself moving tens, even hundreds of nested sublayers to the top level all the time.
Is it possible this script exists already?
View 16 Replies
View Related
Apr 15, 2013
I need to quickly obtain a count of all entities on a layer, or preferably multiple layers. In this instance all the entities will be hatches so that should make it a bit easier.
I'm aware I can use quickselect but if there was a routine that would select all hatch entities on screen (multiple layers) and provide a count per layer that would be much quicker.
View 4 Replies
View Related
Dec 21, 2012
Is there a way to see how many points are in a selected path?
View 2 Replies
View Related
Aug 18, 2013
Im a newbie and a few month ago i made my first skin for a race game with GIMP. Now i want to create another skin.
I follow this proceure as i did a few month ago:
- open the PSD template called A.psd- change the base colour
- export the A.psd to A1.psd.
- As soon as i open the A1.psd in GIMP i lost my sub layers.
I did this before and it worked fine. Although i cant recollect which version of Gimp i used. Has this been changed is the latest version?
View 1 Replies
View Related
Jun 25, 2009
how to get the page count of a multi page PDF file? I know you can then open each page using the PDFFileOptions (pagetoopen). But I need to know up front how many pages there are to loop thru to open each page and process each page.
View 8 Replies
View Related
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
Sep 14, 2012
In AI CS5 Version 15.0.2 for Windows 7 64-bit; Is it possible to hide a hierarchal layer from one that is lower in the layer stack? I would like to make visible one of the bottom layers and hide a layer near the top that is on a separate artboard.
View 3 Replies
View Related
Apr 25, 2009
Every time that I open a file, almost all the layers in the first level appears expanded, even when the file was saved with these layers colapsed.
So, as I have a lot of layers and sublayers/groups, it is difficult to navigate to a specific location and I need to collapse layer by layer.
Are there some trick to force Illustrator to remember the layer status?
View 4 Replies
View Related
Dec 7, 2013
I have two objects intersecting each other on different layers. The object on the top layer I reduced the opacity for and the bottom layer which was previously hidden now is shining through. I do not want this to happen. I want the bottom layer to remain hidden beneath the top layer despite the lowered opacity. How would I accompish this simply? I have CS2.
View 6 Replies
View Related
Sep 17, 2013
I'm on a Win 7 machine using Illustrator CC, using a mouse with the pen tool.
I created some shapes on one layer, and now want totrace just the outside of those shapes on a different layer. It worked well enough on the first two shapes I did this with (both comprised of ellipses layered to create a particular shape) but on this third one, it keeps bouncing me back to the original layer. This is the only shape that includes straight lines but I can't think of a reason that would keep me from being able to trace the outline of shapes on a different layer.
View 10 Replies
View Related
Aug 17, 2012
I have modeled a banana with 220 polygons . ( I have applied subdivision surface to that).
So When I baking a texture for that , The unwrap modifier adds about 771 polygons and vertices to that and model takes about 990 polygons and will convert to a high polygon model.
So what should am I do ?
Is there any way to keep polygons count as 220 with texture applied to that ?
View 3 Replies
View Related
Jan 22, 2014
There's really only one, well, one-and-a-half features that I still miss since I move from PaintShop to Gimp.
Count colors used.
It was a simple command in the color menu that would tell me how many unique colors were in the image I was working with. I clicked it and I got a dialogue box that told me.
Is there any feature like that in Gimp that I simply never found? Or is there a plug-in or something that I can add to give me this functionality?
Another feature I only kinda miss was an extended way to reduce colors. In Gimp I'm wither working in RBG (full color) or indexed, which is 256 colors. (And greyscale which is just a form of indexed.) But in Paintshop I recall being able to reduce the color count to larger numbers, like 1k and 4k and 10k or the like. I never actually found a practical use for this feature, so I only half-miss it. But even so, I might as well ask about it as well. Is there any way to add that functionality into GIMP?
View 3 Replies
View Related
Aug 29, 2013
In PS i can Magic wand selection shape from one layer, drop to sub layer and copy that selected shape from that sub layer. How do I do this in illistrator, and moreover, from multiple layer at the same time.
For instance, in PS = Import an image of gold - select a text phrse with wand - drop to gold - copy paste = gold text.
View 3 Replies
View Related
Sep 7, 2013
I have a dwg with as many as 150 of the same block inserted. What command will give me a count of those blocks?
View 3 Replies
View Related
May 4, 2008
I am using Photoshop CS3 for Mac with a Nikon D70s shooting JPEG images. Can I determine my shutter activation count for the D70s (metadata in EXIF) through CS3?
View 2 Replies
View Related
Apr 24, 2011
URL....I know how to do normal time (obviously) and reversing time isn't that bad either (It's usually just physically dragging keyframes.)
But how does he accelerate time? The only way I can figure is by messing with the FPS count in the Time Configuration dialog box, it works that way, but is that the orthodox way of doing it?
View 2 Replies
View Related
Dec 17, 2013
Really big scene. 17 Million polys. First of all...17 million is not displaying correctly. (See image) There is an extra digit at the end.Second, when I select an object, (since 17 million takes up so many spaces) I can't properly read the poly count on my selected object.
Any way to change the spacing or size of the font?
View 4 Replies
View Related
Sep 2, 2012
I have Lightroom 4.1; 64 bit; Win7. All of a sudden my keyword list is not showing the correct number of photos to which a particular keyword is attached. It doesn't show any for some when there are a number photos with that particular keyword (although it also does not show "0"). For other keywords, it dispolays a number but it is incorrect (apparently always a lower number than actually applicable. I do not seem to be using a filter that might reduce the number.
View 3 Replies
View Related
Apr 17, 2014
I'd like to create a numerical animation that counts up to %100 in Edge Animate. Is this possible? I'm brand new to the program.
View 3 Replies
View Related
Jun 18, 2013
If I drag an effect from the target circle of one object to anther in the layer's panel it replaces the effect along with all appearance. But I want just to add the effect. For example, a layer has a drop shadow and a path, round corners. I want to move the drop shadow from the layer to the path so that the path now has the round corners and the drop shadow. To do this I have to open the shadow effect of the layer wright down its parameters, then create a shadow effect for the path with the same parameters which is a lot of work.
View 3 Replies
View Related
Sep 12, 2013
I'm using CS6 (x64, windows), and I'm extruding vectors by a few points to make 3D models of decorative walls for our modelers. They've constantly told me that there are far too many polygons in the models that Photoshop generates (mine are averaging between 20,000 and 30,000) and that even 3DS Max's "optimize" tool can't take it down to a really managable number (generally they only get them down to around 10,000).
Is there a way to reduce the number of polygons in models generated this way in Photoshop? Even the super simple ones that I extrude (with no curves at all) end up containing around 8,000 or 9,000.
View 2 Replies
View Related
Sep 13, 2012
The issue I'm having involves setting the number of copies to print in Photoshop's print dialog. Most applications I've worked with will set the dm Copies of the DEVMODE to this value and send a single page to be printed. Photoshop, however, is setting dm Copies to "1" (even if the default DEVMODE provide by my driver has dmCopies set to another value) and sending several identical pages to the driver. Obviously this can slow down printing dramatically when the copy count is in the hundreds.
I've observed the same behavior from Photoshop when printing with 3rd party drivers, so it doesn't seem isolated to the drivers I maintain.
My question is, does Photoshop always send multiple copies of an image as individual pages, or is it trying to set the copy count through an interface I don't support? If it is using a different interface to set the copy count what interface is it using?
View 2 Replies
View Related
Sep 20, 2011
How to get count of path anchor points? I'm pathing right now pearl necklace with very diferent colors and some are almost transparent so i didn't know how to use any masking trick on it. So i'm pathing, pathing and pathing one more time. And after 1+ hour start to wondering is there any way to know how many path points i'd made?
View 10 Replies
View Related
Dec 13, 2013
I was working in AutoCAD LT and wanted to report on the number of items in a rectangular array, but cannot seem to find such a variable. In the polar and path arrays there is an object count, but don't seem to be able to find the same field for the rect. array. There must be some field for it, because when I shift over to standard AutoCAD I can get the information from the Data Extraction tool.
I am using AutoCAD LT 2013...
View 5 Replies
View Related
Jun 5, 2013
How can i get number of layout in the current drawings?
View 3 Replies
View Related