Keyframes randomly shift on parent layer

Just curious if anyone else has seen this issue. I've talked to one person about it, but he can't seem to figure out why he has the issue as well.
Sometimes when I put keyframes on the parent layer from such things as scale, position, etc....then if I shift or trim something on one of the child layers...the parent's keyframes will move either back or forward to an arbitrarily place. (BTW: If I hit undo, they won't good back to their original position either)
The distance between the keyframes stays the same, but they will all shift arbitrarily.
This has been a really annoying thing to work around, because I have to set my child layers and then make sure the keyframes for the parent layer are set last.
Locking the keyframes in the keyframe editor does nothing, it will still move. If anyone has any insight, that would be great!
Thanks.
Powerbook G4   Mac OS X (10.4.5)  

Could this have to do with the fact that by trimming child layers, you are sometimes altering the length of the parent, thus compressing the keyframes?
Patrick

Similar Messages

  • Animation Question: Changing all keyframe instances in a single layer all at once?

    I am working on an animated piece in Adobe Flash. I have a
    single 'head comp' layer that contains head, eyes, mouth, etc.
    layers within. I have created several keyframes in this layer to
    animate the entire head comp. Furthermore, I have several keyframes
    within that comp for lip sync, eye movements, etc.
    My problem is, I have to manually change every single
    keyframe in the head comp layer to sync up with the animation
    contained within. For example, if I have a keyframe on the main
    head comp layer-- on frame 5-- I have to manually select frame 5,
    go to Properties panel, change to "Play Once," and then type in the
    frame number in the "First" field. I then have to repeat this
    process several hundred times across the entire layer. There must
    be a faster to to sync up the whole layer. Please help!!!

    Thanks again for your help.
    I think my problem here is, I'm not trying to move any frames
    or anything. I just want to change the properties panel of each
    keyframe in the layer to "Play Once" and have the number in the
    "First" field match it's frame number (example: I want to change
    the "First" field to "10" if the keyframe starts on frame 10. That
    way it will match up with my lip sync animation on frame 10 of the
    nested layer within.) Does that make sense? I have been having to
    change each keyframe number in the layer manually. It takes
    forever.
    The "Play Once/Loop/Single Frame" option isnt available if I
    dont create a motion tween. Again, I'm not trying to move my
    animation-- just change all of the Properties at once.
    Also- if this helps- I am working in CS3.

  • Why does my mouse tracking speed randomly shift to the slowest level?

    Since I downloaded Mavericks OSX 10.9.3, my mouse tracking speed randomly shifts to the slowest speed. Is there a way to change this?

    If it's a wired mouse, check the battery level in System Preferences > Mouse often.
    If it's USB, try a another USB port to test.

  • Why in a parent layer text disappears, but it is visible in a child layer, a Nested Layer Question

    Hi,
    The text in the parent BLUE layer drops to the bottom of a layer box, which I can see in a Dreamer but not in the browers.
    This happens when I added a child RED layer to the parent.
    Without the child RED layer the text stays at the top of the box in the parent BLUE LAYER.
    What can be done so the text in the parent BLUE layer DOES NOT move the bottom of the layer and becomes visible in the brower?
    cheers,
    Dreamer101.1

    Content is HTML.  Style is CSS.  Custom CSS won't make updating content any faster.
    Start by learning HTML and CSS basics.  DW will punish you if you don't know how to work with Code.
    HTML & CSS Tutorials - http://w3schools.com/
    What suggestion you can make for my project?
    Use default CSS positioning (which is no positioning at all) and align divisions with CSS margins, floats and padding.  If your layout will be complex - several columns per page, consider using a CSS framework or Grid to set-up your web page template.  Some good Grid resources below:
    960 Grid System - http://960.gs/
    Boiler Plate CSS System - http://code.google.com/p/css-boilerplate/
    BluePrint: A CSS Framework - http://www.blueprintcss.org/
    When you are satisfied with the layout, it displays well in all major browsers AND your code passes validation:
    HTML Code Validator - http://validator.w3.org
    CSS  Code  Validator - http://jigsaw.w3.org/css-validator/
    SaveAs as a DW Template (.dwt).  Then add some editable regions for content that will change from page to page.
    More on DW Templates -
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Good luck with your project,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Durations of clips are Randomly shifting - HELP

    I normally work in Final Cut Pro, and needed to do a piece in iMovie due to the fact I'm traveling and do not have FCP on the computer I'm working on. I've been building a cut out of still images, 3 different songs, fades, transitions, etc. and as I move forward towards the end and add images, music all the work I've already done keeps shifting, the timing keeps changing, and I have to go back and re-time everything - this is ridiculous. Durations of clips in the beginning of the cut are RANDOMLY changing - I just don't understand, but it is doing it. Everytime a clip randomly changes - everything after it shifts. I have no choice, this is for a family event and I do not have the time to redo in FCP or keep re-timing this piece - is there any way to lock the picture to audio as I go?? I am working in the latest versions of iMovie/OSX, etc. - thank you.

    One thought immediately comes to mind. When inserting a new transition are you sometimes changing the default duration of the transition in the Inspector? If so, make sure that the box entitled "Applies to all transitions" is NOT checked (ticked). If it is ticked, then all clips with transitions may have their duration changed (depending on the type of transition) due to the transition's length changing. Some transitions use extra frames from the clips when increasing the duration of the transition, for example, Cross Dissolve.
    John

  • Can't change parent/layer in CS3

    I've been running into this problem alot in the last 6 months and I'm finally fed up. Basically, at some point while working on my CS3 projects, something unknown to me happens and I can no longer change a layers parent with the drop down box, same thing goes for layer control drop down boxes in the effects panel. Now, I can still change a layers parent with the pick whip, which is why I've just lived with the issue. But I've now run into a problem where I'm using a Layer Control expression effect and I cannot change the layer at all there. I click it and nothing happens, no response at all. Any help here would be greatly appreciated.

    Please be more specific. Provide info about the number of layers per comp, comp settings, what items are referenced/ used using the layer controls etc.. Also provide screenshots (use the camera icon to attach)/ info about the structure of the project or the project itself. I've never encountered such issues myself, but it is imaginable that too many references/ too many layers create some sort of overflow that prevents the list from being drawn or populated correctly.
    Mylenium

  • Watching layers of Precomp in Parent layer

    Hi all,
    It is a very small problem I landed into. I precompsed 3 layers and now whenever I have to adjust/tweak those layers I have to enter into the precom layer. But at that time I cannot see the layers of the main comp which have references to making those changes in the precom layers.
    Is there a work around to have to Precom layers open up in the main comp some how..
    Sorry to ask this strange querry.
    Cheers.

    Look in AE's Online help.  Search for a feature called "Edit This Look At That", aka ETLAT.  Your search should reveal both the online help section describing it, plus a video tutorial demonstraing how to use it.

  • Display random shift promblem

    I have a new issue with two of my three macs. on one of the imacs (24") and a G5 desktop (w/cinema display) the screen move a few pixels with the mouse...in other word if I wiggle the mouse back and forth the screen image moves a few pixels in each direction. If I move the curer up and down the screen seems to stretch a few pixels downwards making the type blurry. the third imac (24") does not do this ... any thoughts?
    please let me know

    The screen is slightly zoomed. Hold down Control while turning the scroll-wheel.

  • Magic Moving Keyframes

    hi,
    i did a quick search and came across one other instance of this but it wasnt answered ( unless I didnt search properly!)
    I have a parent layer with other layers in it. I keyframe aspects of the parent layer, like size and position etc. works fine. But if I want to change the duration of one of the child layers either by draggin or pressing o to auto extend to the current position in the timeline, the keyframes in the parent layer disappear. Actually i think they are moving to somewhere outside the scope of the project because sometimes they come back again.
    They are not compressing because the parent layer is not changing in length.
    The only workaround I have found so far is to drag the child out of the parent, adjust its length, then drop it back in again.
    It doesnt always do this, havent figured out why or not it does yet.
    Any ideas?
    adam

    hi,
    funny I'm in the middle of a commercial which uses a lot of cut out animation elements. As I knew I'd be using big layers moving on and off screen I followed Particks advice and used behaviours instead of keyframes. And I have to say that so far I have been able to achieve everything i wanted with them. ( its not that complacted a commerial!). Its like so many things in Motion i just hadnt used them enough to be proficiant and so i stuck to keyframing. I'm a convert!
    oh and i'v enot had any problems with moving keyframes. Altough i did again earlier today and is definatley something to do with oversized layers, if any of you Motion coders are listening in!
    regards
    adam

  • Question About Parenting Opacity Keyframes

    I now know how to parent Opacity keyframes. I create an expression on the child layer's Opacity, and pick-whip to the Opacity of the parent layer. (I only learned this after someone in this forum explained it to me in detail.)
    But...
    ...is it possible to create an expression where, if one layer's Opacity is 100%, then a child layer would become 0%? And vice versa, when the parent layer is 0%, then the child layer is 100%?
    When layers 3, 5, 7, and 12 in the comp are on, then 4, 8, and 13 need to be off. And vice versa. (And the layers have varying blending modes, in case it matters.)
    Thanks!

    Sure, simply reverse-remap the values using a linear() expression.
    parentOpacity=thisComp.layer("XYZ").transform.opacity;
    childOpacity=linear(parentOpacity,0,100,100,0);
    Mylenium

  • Unexpected Shift+parent Behavior - AE CC

    Todd mentioned that shift+parent has some new functionality in the "What's New" post.
    (http://blogs.adobe.com/aftereffects/2013/04/whats-new-changed-after-effects-next.html - See "changes to Shift+parenting behavior:")
    However, I've noticed another change that is less than desirable.  When shift+parenting, the child layer jumps to the comp center coordinates (eg. [960, 540]) instead of the anchor point coordinates of the parent as it would in CS6.
    Is this intended and/or should I report a bug?

    I think you are misinterpreting what it says in the explanation. Let's say your child layer is at 200, 200 and the parent layer is at 400, 400. If you hold down the shift key and select the parent layer the child layer will move to 400, 400 in the comp window. This happens whether or not the child layer was previously connected to the same or a different parent layer.
    After holding down the shift key and selecting a parent the position of both layers should be the same. The position values may not be the same, but the actual position should be. In other words if you child layer and your parent layer were both 200 pixels square they should overlap perfectly when using the shift + select parent feature as long as the anchor points for both layers are the same are the same.

  • Panic help!!! Why do keyframe parameters not seem to move when I move layer

    Hi, I am about to throw Motion out the window, it's driving me mad, hopefully due to my ignorance, and I can't seem to find any reference to it, but for some reason, if I have animation parameters set in keyframes, then I offset the layer slightly ie move it a couple of frames left or right etc, the animation seems to get completely messed up, I'm guessing it doesn't move, with the layer although that might be too simplistic.
    Please help, I'm taking days to keep redoing things in Motion.
    Is there a way to make sure that all settings and parameters remain set when moving a layer???
    Thanks in advance

    Motion is awesome for keyframe manipulation. If you are running into a problem that, to me it sounds like you're saying that you are moving your clip in the timeline and the keyframes don't stay timed to the clip, I would say that there is something being overlooked. Wihtout seeing it first hand I don't know what you would be doing wrong but have a solution that might satisfy you. If you haven't tried this before I think you will be tickled with how nice this is. With the clip you wish to manipulate selected go into the tab marked "Keyframe Editor". From there you can select keyframes (single or multiple) and totally manipulate the parameters of your clip. This is great for correcting timing issues with your movement as well. Here you can also see a column to the left that shows you a legend of what each color coted keyframe line is within this editor and you can deselect which ones you don't need to manipulate at the moment. Deactivate them by unchecking them (which only deactivates your view of them at the moment not their function) and clear them out of the way so that you can manipulate just the parameters you want to for the moment. You can also right click on each keyframe and get a bevvy of options.
    Hope this helps.
    G5/Macbook Pro 17   Mac OS X (10.4.7)  

  • Script select parent group by layer

    I have complicated workflow in photoshop in which i often use selection of layers by ctrl+click (auto-select is unchecked and selecting layers is chosen) That works good for me. But some time i need quickly select parent group of active layer (only one level up) (it can be achived by using some keyboard shortcut)  I think the only way to do that is PS scripting.
    Im new to photoshop scripting but i have a lot of expirience in other languages
    As i understand its sould take just couple commands:
    1) select parent folder from active object (it can be any type of layer)
    2) Collapse this folder (cos it was uncollapsed before)
    what syntax shoud i use for this commands? i tried to use help but couldn't find even how to select parent folder of active layer..
    Any help?

    I've tried the following codes and it works for me. It selects the parent layer of the group and then collapses it:
    1. copy the following script and paste it into notepad. Save it as LayerSetSupport.jsx and save it in the same folder as all your other scripts:
    //START HERE------------------------------------------
    //For code readability
    function cTID(s){return charIDToTypeID(s)}
    function sTID(s){return stringIDToTypeID(s)}
    // =============================
    function openAllLayerSets( parent ){
        for(var setIndex=0;setIndex<parent.layerSets.length;setIndex++){
            app.activeDocument.activeLayer = parent.layerSets[setIndex].layers[0];
            openAllLayerSets( parent.layerSets[setIndex]);
    function closeAllLayerSets(ref) {
              var layers = ref.layers;
              var len = layers.length;
              for ( var i = 0; i < len; i ++) {
                        var layer = layers[i];
                        if (layer.typename == 'LayerSet') {closeGroup(layer); var layer = layers[i]; closeAllLayerSets(layer);};
    function openGroup(layerSet) {
       var m_activeLayer = activeDocument.activeLayer;
       var m_Layer_Dummy01 = layerSet.artLayers.add();
       var m_Layer_Dummy02 = layerSet.artLayers.add();
       layerSet.layers[1].name = layerSet.layers[1].name;
       m_Layer_Dummy01.remove();
       m_Layer_Dummy02.remove();
       activeDocument.activeLayer = m_activeLayer;
    function closeGroup(layerSet) {
       var m_Name = layerSet.name;
       var m_Opacity = layerSet.opacity;
       var m_BlendMode = layerSet.blendMode;
       var m_LinkedLayers = layerSet.linkedLayers;
       var m_bHasMask = hasLayerMask();
       if(m_bHasMask) loadSelectionOfMask();
       if(layerSet.layers.length <= 1) {
          addLayer();
          var m_Tmp = activeDocument.activeLayer;
          m_Tmp.name = "dummy - feel free to remove me";
          activeDocument.activeLayer = layerSet;
          ungroup();
          addToSelection("dummy - feel free to remove me");
          groupSelected(m_Name);
       } else {
          activeDocument.activeLayer = layerSet;
          ungroup();
          groupSelected(m_Name);
       var m_Closed = activeDocument.activeLayer;
       m_Closed.opacity = m_Opacity;
       m_Closed.blendMode = m_BlendMode;
       for(x in m_LinkedLayers) {
          if(m_LinkedLayers[x].typename == "LayerSet")
             activeDocument.activeLayer.link(m_LinkedLayers[x]);
       if(m_bHasMask) maskFromSelection();
       return m_Closed;
    function ungroup() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Lyr " ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( sTID( "ungroupLayersEvent" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function addLayer() {
       var m_ActiveLayer          =    activeDocument.activeLayer;
       var m_NewLayer             =    activeDocument.artLayers.add();
       m_NewLayer.move(m_ActiveLayer, ElementPlacement.PLACEBEFORE);
       return m_NewLayer;
    function hasLayerMask() {
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( sTID( "layer" ), cTID( "Ordn" ), cTID( "Trgt" ));
       var m_Dsc01= executeActionGet( m_Ref01 );
       return m_Dsc01.hasKey(cTID('Usrs'));
    function activateLayerMask() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Chnl" ), cTID( "Msk " ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( cTID( "slct" ), m_Dsc01, DialogModes.NO );
       } catch(e) {
          var m_TmpAlpha = new TemporaryAlpha();
          maskFromSelection();
          activateLayerMask();
          m_TmpAlpha.consume();
    function deleteMask(makeSelection) {
       if(makeSelection) {
          loadSelectionOfMask();
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( cTID( "Dlt " ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function selectLayerMask() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
       m_Dsc01.putReference(cTID("null"), m_Ref01);
       m_Dsc01.putBoolean(cTID("MkVs"), false );
       try {
          executeAction(cTID("slct"), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function loadSelectionOfMask() {
       selectLayerMask();
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putProperty( cTID( "Chnl" ), cTID( "fsel" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       var m_Ref02 = new ActionReference();
       m_Ref02.putEnumerated( cTID( "Chnl" ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "T   " ), m_Ref02 );
       try {
          executeAction( cTID( "setd" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function maskFromSelection() {
       if(!hasLayerMask()) {
          var m_Dsc01 = new ActionDescriptor();
          m_Dsc01.putClass( cTID( "Nw  " ), cTID( "Chnl" ) );
          var m_Ref01 = new ActionReference();
          m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Chnl" ), cTID( "Msk " ) );
          m_Dsc01.putReference( cTID( "At  " ), m_Ref01 );
          m_Dsc01.putEnumerated( cTID( "Usng" ), cTID( "UsrM" ), cTID( "RvlS" ) );
          try {
             executeAction( cTID( "Mk  " ), m_Dsc01, DialogModes.NO );
          } catch(e) {
             activeDocument.selection.selectAll();
             maskFromSelection();
       } else {
          if(confirm("Delete existing mask?", true, "Warning")) {
             activateLayerMask();
             deleteMask();
    function groupSelected(name) {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putClass( sTID( "layerSection" ) );
       m_Dsc01.putReference(  cTID( "null" ), m_Ref01 );
       var m_Ref02 = new ActionReference();
       m_Ref02.putEnumerated( cTID( "Lyr " ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "From" ), m_Ref02 );
       var m_Dsc02 = new ActionDescriptor();
       m_Dsc02.putString( cTID( "Nm  " ), name);
       m_Dsc01.putObject( cTID( "Usng" ), sTID( "layerSection" ), m_Dsc02 );
       executeAction( cTID( "Mk  " ), m_Dsc01, DialogModes.NO );
       return activeDocument.activeLayer;
    function addToSelection(layerName) {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putName( cTID( "Lyr " ), layerName );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       m_Dsc01.putEnumerated( sTID( "selectionModifier" ), sTID( "selectionModifierType" ), sTID( "addToSelection" ) );
       m_Dsc01.putBoolean( cTID( "MkVs" ), false );
       try {
          executeAction( cTID( "slct" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function TemporaryAlpha() {
       activeDocument.selection.store((this.alpha = activeDocument.channels.add()));
       activeDocument.selection.deselect();
       this.consume = function() {
          activeDocument.selection.load(this.alpha);
          this.alpha.remove();
    // The main function
    //openGroup(activeDocument.activeLayer);
    //openAllLayerSets( app.activeDocument );
    //closeGroup(activeDocument.activeLayer);
    //closeAllLayerSets( app.activeDocument );
    //END HERE-----------------------------------------------
    then, copy the following code and save it into the same folder, and save it under any filename you wish:
    //START HERE-----------------------------------------------
    var doc = app.activeDocument;
    var theLayer = activeDocument.activeLayer;
    var theParent = theLayer.parent;
    doc.activeLayer = theParent;
    // =======================================================
    // The main function
    //@include "LayerSetSupport.jsx"
    if (activeDocument.activeLayer.typename == 'LayerSet')
    {app.activeDocument.suspendHistory('closeGroup','closeGroup
    (activeDocument.activeLayer)');}
    //END HERE-----------------------------------------------
    now once you run the above script (the one which you gave it your own filename), it should select the parent layer and then collpase it. First make sure that the selected(active) layer is not the parent layer of the group. I beleive the main scripting here was done by csuebele, so thank him for this
    (sorry I don't know how to paste the above code into its own sub-window)

  • AE CS5 - Shape Layer - Anchor point moves after position keyframe

    I am experiencing unintuitive (to me) behaviour with a brand new shape layer. Here are the steps to reproduce the issue. I have made a screen cap of the problem but can't figure out how to upload it to this forum.
    1. In an existing composition, I create a new Shape Layer
    2. By default the anchor point (center point) is in the dead center of the shape layer. Perfect.
    3. I turn on Position keyframing, and add a position keyframe at my current time
    4. Instantly the anchor point now jumps to the center of the composition, and so now when I scale my shape layer it doesn't scale properly
    If I try to use the Pan Behind tool, I get position keyframing. Besides, I SHOULD NOT HAVE TO DO THIS, since the anchor point was in the correct spot to start with, and it's only because of this keyframing "bug" that the anchor point jumps.
    What am I missing or doing wrong? How can I add a position keyframe to a BRAND NEW LAYER that has no other animation on it, and still keep the anchor point in the dead center of my shape?
    Thanks for your advice,
    Tom

    Thanks to Rick and Mylenium for your helpful answers. Rick, I'd prefer not to have to manually reposition, because I'm never going to be as mathematically precise as the software for positioning the Anchor Point dead center.
    Using the transform controls on the shape rather than the global container certainly did the trick! You guys are great. Thanks.
    [rant]
    In my defense as far as the constant exhortations to "RTFM", we all know that most veteran software users only go to the manual when there's a problem. You also know that Adobe's help system (particluarly in regards to search) has gotten worse over the years, not better. So when I run into a situation like this, I'm going to search through the help for what I believe the problem is: namely "anchor points", "transformations" and "keyframes", and maybe "shape layers". This is a fair amount of research, and it's exactly what I do as my first line of defense.
    The second line of defense that most tech savvy folk do, is a Google search; for example: "anchor point moves after position keyframe" or "After Effects shapes layer anchor point moves keyframe" etc. And you spend your time sifting through forums trying to find the relevant answers. I feel that THAT is my true due diligence, rather than reading the F'n Adobe manual that is so very very sparse.
    So after my due diligence, I turn to the experts communities, because there I know I will get educated, reliable help within a reasonable turnaround time. And because I myself contribute to these same forums in areas where I have higher than average expertise. The Adobe Forums have proven to be one of the great online resources.
    Finally, now that I have a great answer from two knowledgeable experts (thanks again!), I've also enriched the community, because of the way I have crafted my post title, hopefully the next poor ******* who has a similar problem and a similar methodology to finding resolution will stubmle upon my post because I've tried to overload the title with relevant keywords that will generate hits in google.
    Through my question, and your accurate answers, the global knowledgebase has improved.
    So forgive me for not memorizing the F'n Adobe online help. I go to the resources that are the most useful, expedient, and provide the greatest value as a whole.
    [/rant]
    Peace,
    Tom

  • Export sub-layer without its parent content

    Hello,
    I am trying to export the sublayer in jpg without the parent layer's content. I have tried options with AIArtSuite and AILayerSuite but have been unsuccessful. The following is the code for reference:
    sAILayerSuite->GetFirstLayer(&Firstlayer);
    sAILayerSuite->GetLayerFirstChild(Firstlayer, &childLayer);
    sAIArt->GetFirstArtOfLayer(childLayer, &artGroup);
    //Export to jpg using the artGroup
    On observing the layers in AI, the child layer preview always has the content of the parent layer. So,
    Is it possible to get the art of a sublayer without the parents content? If yes, then how to achieve that?
    Thanks,
    Hitesh

    I've tried using the AIRasterizeSuite but still no luck. Here's what i've tried:
    Approach 1:
    //Get the childe layer from the parent
    AILayerSuite->GetLayerFirstChild(Firstlayer, &childLayer);
    Approach 2:
    sAIArt->GetFirstArtOfLayer(Firstlayer, &artGroup);
    sAIArt->GetArtFirstChild(artGroup, &childart);
    sAIArt->GetLayerOfArt(childart, &childLayer);
    And after getting the layer handle in childLayer, the following is used.
    // Create the art set.error = artSetSuite->NewArtSet(&artSet);
    // Populate the art set.
    error = artSetSuite->LayerArtSet(childLayer, artSet);
    //Create raster settingsAIRasterizeSettings rasterSettings;
    rasterSettings.type = kRasterizeRGB;
    //Compute bounds
    AIRealRect bounds;
    error = sAIRasterize->ComputeArtBounds(artSet, &bounds, false); 
    //Create raster
    AIArtHandle rasterOut = NULL;
    error = sAIRasterize->Rasterize( artSet, &rasterSettings, &bounds, kPlaceAboveAll, 0, &rasterOut, MyRasterizeProc);
    But in either case the result is the same, the chaild layer always contains the information of the parent.
    Also, as mentioned in the previous post, I could not find any AIRaster and AIRasterHandle in the SDK. I'm using the CS3 SDK.
    thanks,
    Hitesh

Maybe you are looking for

  • Stop motion animation

    Hi, Can quicktime pro be used to create stop motion animation? If so how do you do it? Thanx Dave

  • Online Download of ITunes won't run

    Hey guys, If anyone out there could help me out, I'd appreciate it soooooo much. Ok so I just got an IPOD nano (2nd generation) for Xmas. & I went to download ITunes (the new 7.0 version), & I downloaded the file. However, every time I attempt to run

  • One more hearing question

    i JUST plugged in my guitar and recorded my first track. then i pressed 'play'. why don't i hear anything? i can see that the sound was recorded.

  • 9860 cant update.

    hi, i have problem installing sofeware update, in the middle  updating get this msg unable to connect to you device when updating (Reconnecting to JVM). my pc usb cable port and battery is good. bb totally can not on, only white screen. please need h

  • Is the iPhone configuration utility borked?

    I've downloaded the iPhone configuration utility and am trying to setup a generic configuration file so that ANY user on our network can download it and then be prompted to enter their username & password to set them up. Seems it doesn't work that wa