Hierarchy of layers

Help, I am looking for a script that would read the layer
names and hierarchy of layers in PS and Illy to recreate post
import into Fl. Currently the timeline view will not show full
hierarchy only the top level. And, I am not using any speical
effects or blends to my layers or groups only flat images or paths.
I am dealing with 200 layers! Manually recreating the layering
would be very time consuming. Thanks :-)

Actually, the "tree" you see on the right panel isn't a layers tree at all. OCGs (aka "layers") in a PDF file are in a simple 1-level stack, but you can define groups of layers, which Acrobat displays using the tree style. While there's no grouping or ungrouping tool in the user interface in Acrobat, you can do it via JavaScript by writing arrays of arrays into the doc.OCGOrder object. To quote the Acrobat SDK:
The simplest order array is a flat array of OCG objects. In this case, the listed OCGs are displayed in the UI as a flat list in the same order. If a subarray is present in the order array and the first element of the array is a string, the string will be listed with the rest of the array nested underneath it. If the first element of the array is not a string, the entire array will appear nested underneath the OCG preceding the subarray.

Similar Messages

  • How to create a nested hierarchy of layers in Acrobat X

    After researching on line for a few days it appears that AutoCAD 2012 64 bit no longer supports PDFMaker.  In the old PDFMaker it would appear that I could select AutoCAD layers to make a layer groups or nested hierarchy.  I want create something like the first page of this http://floridadisaster.org/publicmapping/HELP.pdf  Multiple groups with nested sublayers to several levels.  With no luck on the exporting end I wonder if there is an Adobe product that can do this.  Illustrator creates the same structure and then only exports the top layer.  InDesign doesn't allow for layer groups or nested layers unless it has the DTP plugin, but then it only exports the top level layers.  Any ideas?  I have yet to find a product other than ArcGIS which is overkill for just the creation of a layer/sublayer hiearchy and expensive.
    Thanks,
    Josh

    Actually, the "tree" you see on the right panel isn't a layers tree at all. OCGs (aka "layers") in a PDF file are in a simple 1-level stack, but you can define groups of layers, which Acrobat displays using the tree style. While there's no grouping or ungrouping tool in the user interface in Acrobat, you can do it via JavaScript by writing arrays of arrays into the doc.OCGOrder object. To quote the Acrobat SDK:
    The simplest order array is a flat array of OCG objects. In this case, the listed OCGs are displayed in the UI as a flat list in the same order. If a subarray is present in the order array and the first element of the array is a string, the string will be listed with the rest of the array nested underneath it. If the first element of the array is not a string, the entire array will appear nested underneath the OCG preceding the subarray.

  • Button hierarchy on layers in interactive PDFs

    Hi,
    we recognized a flaw in the display of interactive buttons within interactive PDFs:
    We created a document with several buttons, that are mentioned to display other hidden buttons, when clicked. The problem is that even when the layer of the button, that are invisible when loading the page and are visible when clicking on the other button, is above the layer of the button to click on, the other button is displayed in front of the button that should appear in front of it. Most buttons appear on top of all layers when clicked once. Is there a way to avoid this?
    Thanks a lot for any suggestions.
    Regards,
    Philipp

    The way the PDF specification was written, interactive elements always appear above all other content. It has nothing to do with what you're doing in InDesign. You'll just have to work around that fact in your design.

  • In Adobe Bridge, how can I display keywords in their hierarchy, do an "aka" keyword assignment, and perform multi-value keyword searches?

    Hi Bridge Geniuses!
    I need your help. I am using Bridge to sort and keyword a pretty big photo archive. I have created a pretty long nested hierarchy (4 layers deep, max) and, for a few reasons, would like the parent tags to be automatically included when I indicate a sub-tag.  The problem I have now is that the keyword list is distractingly long and organized alphabetically. My first question is this: is there a preference setting in Bridge that will ask the program to display the keywords in their hierarchy? That is, will Bridge present the list as, for example, cars à hybrids à Toyotas à Prius. 
    My second question is: if I have two or more names that represent the same keyword, is there an “aka” function in this program that will allow me to direct searches for two or more different words to the same keyword entry? (For example, if I want my searches for “Bruce Wayne” to also show entries marked as “Batman.”)
    Finally, I would like to know if Bridge will perform keyword searches for more than one word at a time. So far, I have tried entering two keywords with overlap at a time, separated by a space or a comma or a semicolon, and the search comes up empty.
    Thank you very much for your help!

    I reset my custom workspace and all seems to be well now. My keywords now show, the number of photos each applies to and I can again search.
    Thank you.

  • Dynamic gallery

    Question: Why is it that when the thumbnails of my gallery
    are clicked on, that the larger images corresponding to them are
    moved to the northwest quadrant of the stage? When this occurs, the
    gallery loses functionality and I'm no longer able to click on the
    corresponding larger images in order to make them disappear after
    viewing them. (The gallery only displays the larger thumbs
    correctly—meaning centered above the smaller thumbnails of
    the gallery—when the gallery is placed above all layers; It
    won't work correctly in a layer placed below the main layer.)
    My site hierarchy: two layers: main, script (houses the
    preloader). Inside main are layers called script, sections, menu,
    background. 2 layers deep, inside sections, is where I need to
    place my dynamic gallery. As I said, it will only function
    correctly on the main layer.
    Thanks
    Code for library follows

    Hi there,
    So if you were to copy the same script down to a frame on the
    sections movieclip timeline, you would only need to change a few
    things to help with the targeting.
    Look at the changes I've made to the script below and read
    the comments.
    You can actually put it on any movieclip timeline and it
    should work.
    Hope it helps

  • Everything showing up black in project

    So I just installed Final Cut Studio. I opened Motion and start drawing objects and adding text and importing psd files and everything shows up black. The objects are all there but nothing showing up. Here's a screenshot: http://cl.ly/2qh0
    Any help would be fantastic. Thanks!

    Google is a wonderful thing. This is straight from Apples site:
    Make Your Files Motion-friendly
    Motion can import flat or layered Photoshop files. It’s best to work in RGB color at 72 dpi. You should also name your layers. There are certain things (like layer masks) that should be applied directly to layers when you import them separately. Check the Motion manual for more information.
    Motion can import Illustrator files, but you must check the “Create PDF Compatible File” option when you save. You can also save your file as a PDF before you import it into Motion. Motion always imports layered Illustrator files as a flattened files.
    Size Matters
    You should set the size of your Motion project according to your final output format. You can choose from a number of presets that correspond to common project types such as NTSC D1 (television) and NTSC DV (Mini DV footage). You can also set your own resolution using the Custom option.
    Layers and Objects in Motion
    Layers in Motion work a little differently from layers in Photoshop and Illustrator. Motion uses a hierarchy of Layers and Objects. Objects are the smallest unit of media, such as a flattened file or a single Photoshop layer. Layers are like containers that can hold any number of objects. Both Layers and Objects appear in the Layers window.

  • No Layer Names  in FlashCS3 from Illustrator Import

    Is there a way to get the layer names to across when
    you import Iillustrator files to keyframes into Flash? It worked
    fine from Illustator 10 into Flash 8 but no longer seems to work in
    Illustrator and Flash CS3. It's a big problem when you are
    importing more than 100 layers and you have to keep referring back
    to you illustrator file to figure out what frame is what.

    I too find this difficult to deal with. In fact, am looking
    for a script that would read the layer names and hierarchy of
    layers in PS and Illy to recreate post import into Fl.

  • Creating Tree-Like Hierarchy in Flash CS5 using layers

    Hey folks.
    I'll try to be concise.
    I'm building a mp3 player which initially has 3 layers. In each ofthese 3 layers, there is a lot of visual content. I currently desire the following:
    I click on a particular icon and a completely new page pops up (I know how to do the animation & removing assets off the stage and what not), but what I am trying to achieve is that in Flash, where all of my art resides, I was wondering if I can create a tree-like hierarchy whereas if I clicked my icon symbol, I would see all the symbols inside the icon symbol, and when I click back I'm not able to see these new symbols anymore. For ex. I click on an icon with a music symbol, I click it and a bunch of tracks show up in row format. When I click back, I don't see all the tracks anymore, I only see the music icon.
    I tried creating a mask inside the music icon containing the several tracks (its one symbol). When I click back I'm able to only view the music icon, which is what I desire, and I'm only able to view the tracks when I go inside (double click) the music icon but the issue is that for some reason I canot access the bunch of tracks symbol via actionscript, my code resides in Flex 4 or otherwise known as Flash Builder 4. Any help would be appreciated.Thank you.
    - Sakib I.

    I suggest you read some XML tutorials. Functionality you desire is one of the easiest to implement once you get a light grasp on XML.
    Here is one of the possible approaches:
    var xml:XML;
    init();
    search("Dog");
    function init():void
         xml =   <data>
                   <Items>
                        <Query>Rip</Query>
                        <answer>to copy files from a disc onto a computer</answer>
                   </Items>
                   <Items>
                        <Query>Dog</Query>
                        <answer>Animal that barks</answer>
                   </Items>
                   <Items>
                        <Query>Watermelon</Query>
                        <answer>Diuretic</answer>
                   </Items>
              </data>;
    function search(searchString:String):void
         for each (var node:XML in xml.Items)
              if (node.Query.toString() == searchString)
                   trace(node.Query.toString(), "is", node.answer);
                   break;

  • Multi layer table view/navigation controller hierarchy best practice

    Hi,
    I am new to iPad/iPhone development and wondering what the best practice for multiple layers of table views is? I understand the principle of a navigation controller providing the framework for moving up and down a list but have not yet quite got my head around if you should have one navigation controller for the whole tree or several navigation controllers.
    In my app I need to have the following:
    Main view -> window view showing some interactive elements (picker, buttons etc.)
    Setup view -> Hierarchy managed by nav controller/table views
    The setup view needs to manage the following hierarchy...
    - Level A:
    - Global app variables (one table view)
    - Level B Items (table view showing list of items at belonging to Level B)
    - Level B Item 1 (table view showing list of items at level C belonging to level B item 1)
    - Level C Item 1 (table view showing list of items at level D belonging to level C item 1)
    - Level D Item 1 (table view showing list of items at level E belonging to level D item 1)
    - Level E item (table view for properties of item at Level E)
    - Level D Item n
    - Level C Item n
    - Level B Item n
    Each level in this has some properties and then a list of child items.
    What would be the best way of structuring this? I would assume that creating a class that extends a view controller for each level is a given but what about the control of the navigation? Should this be handled by one navigation controller or one per level? I think I know the right answer but have not seen a neat way of implementing
    I think I am also best off having each level in it's own xib but, once again, am not 100% sure that this is the best design pattern.
    Many thanks in advance for any help/pointers!
    Cheers
    jez

    Hi Julian,
    I have struggled with the same questions you are addressing. On a previous project we tried to model based on packages, but during the course of the project we encountered some problems that grew overtime. The main problems were:
    1. It is hard to enforce rules on package assignments
    2. With multiple developers on the project and limited time we didn't have time to review package assignment
    3. Devopelers would click away warnings that an object was already part of another project and just continue
    4. After go-live the maintenance partner didn't care.
    So, my experience is is that it is a nice feature, but only from a high level design point of view. In real life it will get messy and above all, it doesn't add much value to the development. On my neew assignment we are just working with packages based on functional area and that works just fine.
    Roy

  • Maintain PDF layering when opening in older version of Illustrator?

    As the title explains, I was wondering if it may be possible to avoid data loss upon opening a PDF in an older version of Illustrator. I have a client who is still using CS5, and needs to have editable PDF files that maintain their hierarchy.
    Currently standing, I get the "This file was generated by a newer version of Illustrator" error, which flattens the artwork into a single layer. Is there a workaround for this, or am I out of luck?
    Thank you in advanced for your help.

    Have you tried saving as CS5. There's a drop-down menu for choosing a version. It will still flatten some things that are not available in the older version, but you may have better luck keeping the layers intact that way.

  • PS CS6: It'd be helpful to have the option to collapse or expand the nested groups and layers.

    PS CS6: It'd be helpful to have the option to collapse or expand the nested groups and layers all at once.  Autodesk Maya has a similar feature in it's outliner that allows for you to do this.

    And as Jeffrey Tranberry answered there:
    • Open/close all layer groups (folders) at the current level of hierarchy: Cmd-click the arrow next to the group - This is handy when you want to open/close, say, all the top-level groups without disturbing the open/closed state of any groups nested within them.
    • Open/close all layer groups nested within the current one: Opt-click the arrow next to the group - This is nice when you want to open/shut a bunch of nested groups, without affecting any that lie outside the target group.
    • Open/close all layer groups, period: Cmd-Opt-click the arrow next to a group So, to keep things simple: when in doubt, Cmd-Opt-click a group’s arrow and you’ll collapse/expand all groups.
    * On Windows please substitutes Ctrl for Cmd and Alt for Opt. .

  • Physical / Business / Presentation Layers

    I appreciate that OBIEE is primarily a datawarehouse tool and that best results are achieved by creating star structures as the basis for building reports, BUT, say you have a highly volatile area, where people are really on interested in the situation 'now' as they are looking for items that have not be fulfilled; -
    1. Can you model the layers directly from the transacting database
    2. What struture should you use, given that the tables follow this physical model?
    Header < Line < Distribution
    |
    Header< Line < Distribution
    n.b. < = 1 to many - there is no crows foot on my keyboard
    | = optional 1 to 1
    The reason for my question is star format consistently works for me, but if I try anything else the Administrator tool will not let me save the result.
    Thnaks for any input,
    Robert.

    Robert,
    Regardless of complexity (3nf transactional) or simplicity (think flatfile) we must always model a star schema in the BMM. For your example I'd consider one 'invoice' logical fact with 3 logical table sources, one for headers, one for lines, one for distributions (each mapped to equiverlant physical table). I'd be looking to map as much as possible against all 3 logical table sources (like Value, Qty etc. etc.).
    Then look to de-normalise as much as possible into an 'Invoice Dim' of sorts and have levels 'Header' - > Line -> Distribution as the hierarchy so we can set the content levels in our LTS's accordingly back on our logical fact.

  • Moving a layer group should not incure a performance hit (init a set of layers vs recursive)

    I have finally taken the time to understand the behavior of the slughish performance of moving layer groups.
    On my computer in CS6:
    1. If I have just 2 layers in a layer group. Selecting both of them and ctrl-dragging them around is smooth and responsive.
    2. If you have however select the layer group which contains just these 2 layers, the performance is obviously and terribly impacted. The drag is slow and choppy. With just 2 it is unbearable with regards to workflow but with a large layer group the performance it is utterly unusable. I am now looking to test what occurs in older versions.
    I am a programmer. Not only that, I am a programmer who regularly targets 16 milliseconds on the scene and model graph. Learn to code and learn to program with hitting a 16ms user experience. That means abstraction culling to perform a minimum number of operations for a feature vs inertia, not the logically beautiful and sound abstractions we all would love to have on infinite computation. That's the reality of performance optimization. Performance optimization should be refered to as abstraction culling because that's what it is.
    It should not make any logical difference how a set of layers is initilized for a transform. Please initialize the arrayed set of layers from the hierarchy of groups instead of executing your obviously flawed and unoptimized recursive routine.

    I'm just not seeing a difference in performance between dragging a single layer around, multiple individually selected layers together, or a whole group of layers (where the group is what's selected in the Layers panel).
    I tested on both Photoshop CS6 and CC.  I'm on Windows 8.1.  And I can honestly say I've never seen the layers panel scroll slowly.
    That's not to say I'm seeing instantaneous, smooth moves of layer data - with a sufficiently large image, the update rate goes down to where the frame rate of moving things is quite visible - e.g., 4 or 5 frames per second - but that's still interactive, and it has always been like this with Photoshop as far back as I can remember.  If anything, moving data around has gotten a bit snappier in Photoshop CC.
    You may well have something specific going wrong on your system, or with your particular document.
    Why not post a copy of a specific test image on which you can reproduce the issue, and that you'd like others to test with.  I'll be happy to drag layers and groups around in it and report back.
    That reminds me, I need to get software installed to capture my desktop as a video, as I need to make a training video soon.
    -Noel

  • Very basic Question on Hierarchy

    Where do I place a function, at the lowest level, so I can call it from any other container above it?
    For example, I have 3 frames and they all need to use the same function, called "myFunction()".
    Do I really have to create it in each frame? There has so be a lowe level where this can be placed?
    Is there a good simple description of AS3 Hierarchy somewhere?
    Also, how do you specify global variables in AS3?
    Thanks very much,
    e

    Yes, write the function in the first frame and extend the frames for the objects in several layers, if you create the objects in several keyframes then you'r not able to call the object in the firstframe (within the function) which you had created in another frames. This should be controlled by the good organisation of layers and objects in a single frame.
    You can access the varaible as global by declaring anywhere on the timeline as:
    MovieClip(root).varName="Raja";

  • (Batch) Renaming of layers?

    Hello everybody!
    Is there a way of renaming all layers and sublayers of a given CS3-Illustrator file in a search-for-string substitute-with-string manor?
    Cheers
    Klaus

    Yupp, as Wade said, a script should be able to do this using the built-in JavaScript replace() and indexOf() methods. Should not be all too complicated (asssuming, there is a simple way to "walk" the layer/ group hierarchy), so someone may be able to quickly throw it together.
    Mylenium

Maybe you are looking for