[AI CS4 Mac] How to Create a Layer Clipping Mask?

Hi Folks,
How does one go about creating a layer clipping mask using the SDK?
What I want to do is to simulate clicking on the "Make/Release Clipping Mask" button (the left-most picture button) that is at the bottom of the Layers Panel.
Thanks!
-- Jim

Clipping masks work, but they can be a little clunky (as you might tell from their weird way of being set up). You might find opacity masks more flexible. An opacity mask is basically a group attached to a layer, in which you store paths that represent holes in the mask. These holes have an opacity value for how much shows through. So anything in the mask group is a hole (there can be many) and anything in the layer (as normal) shows through those holes. Setting it up is simpler but it depends on the kind of clipping you're trying to do which is easier. We find it easier when doing knockouts for labels on lines, but clipping paths are also possible, just a little more annoying.

Similar Messages

  • [AI CS4 Mac] How to create a Compound Path?

    Hi Folks,
    I'm trying to create a compound path in AI CS4 for Mac, but I have not been successful. One would think this would be easy, so maybe I'm missing the obvious solution...
    What is best way to create a compound path using the SDK? I just need to make a compound path out of two non-overlapping rectangles so that I can create a clipping mask. Nothing tricky.
    The SDK is not clear about the best way to go about creating a compound path, but I figured that programmitically selecting the two rectanlges and then using the built in "adobe_makeCompound" action would work, but it doesn't.
    err = sAIActionManager->PlayActionEvent("adobe_makeCompound", kDialogNone, NULL);
    When the above code is called while I'm debugging, I get a dialog box that reads: The object "Make Compound Path" is not currently available.
    If I click the "Stop" button while debugging, the value of err is 1346458189 which is 'PARM'. So, maybe I need to set a parameter? The crazy thing is that there appears to be no parameters needed for the "adobe_makeCompound" action event. When I created the action manually, the resulting .aia file (see its contents below) has a parameterCount == 0. I've tried passing a parameter block without adding any parameters to it (instead of NULL), but still no joy.
    /version 2
    /name [ 5
              5365742031
    /isOpen 1
    /actionCount 1
    /action-1 {
              /name [ 12
                        436f6d706f756e6450617468
              /keyIndex 0
              /colorIndex 0
              /isOpen 0
              /eventCount 1
              /event-1 {
                        /internalName (adobe_makeCompound)
                        /localizedName [ 18
                                  4d616b6520436f6d706f756e642050617468
                        /isOpen 0
                        /isOn 1
                        /hasDialog 0
                        /parameterCount 0
    Any help or suggestions on how to create a compound path would be greatly appreciated!
    Thanks in advance!
    -- Jim

    Actually, here's a more useful variation
    // rectangle1 & rectangle2 are the AIArtHandles for your existing paths
    AIArtHandle compound = 0;
    sArt->NewArt(kCompoundPathArt, kPlaceAbove, rectangle1, &compound);
    sArt->sReorderArt(rectangle1, kPlaceInsideOnTop, compound);
    sArt->sReorderArt(rectangle2, kPlaceInsideOnTop, compound);
    // this will create the compound right next to wherever rectangle1 is, much simpler and more likely what you want

  • How to create shape layer in Adobe After Effects Cs2 ?

    How to create shape layer in Adobe After Effects Cs2 ?

    THere is no such thing. Shape layers were introduced in CS3.
    MYlenium

  • How do I make a clipping mask whilst preserving sub layer structure?

    Hi guys,
    I am editing a map and need my map split into multiple rectangular segments. My map is made up of many layers and sub layers which I need to preserve. When I clipping mask the map with a rectangle all of the map's subs layers merge into one layer. How do I make a clipping mask whilst preserving sub layer structure? It seems like a 'layer mask' is the correct tool but doesn't seem like CS6 has it?
    Cheers
    Mat

    I avoid sublayers, because they really were never thoroughly developed, and when you open files, you get all your layers flipped open.
    So for me paste in front works great for pasting a mask directly above the element you want to mask. Unfortunatley paste in front does not work well with sublayers so you will need to drag the mask down into the the sublayer. But atleast if you have a complex document with many sublayers, the paste in fornt gets you close.
    eg; Mask is in clipboard, I select sublayer Illinois
    After doing a paste in front, the mask (star shape) is not in the sublayer, but above
    Drag the star shape down one in to the sublayer Illinois, select entire sublayer(use radio button right of the layer name)
    and make clip mask

  • PS CS6 - Layer Clipping Mask

    In CS6, the clipping mask is just an icon in the lower right of the layer icon in the palette. How do I easily drag it to another layer to create the same clipping mask? In previous Photoshops, you could option drag it to other layers/folder to quickly add the masks.

    http://bjango.com/articles/photoshopcs6vectorshapes/
    I think this explains it.

  • Layer clipping mask help

    having trouble with layer clipping masks - I guess I've never really used them before. I want to make a clipping mask from a layer but that layer has more than one path on it. It doesn't seem to be working. Does it need to be a single one? Can I use a compound or a group(i've tried both but they didn't work for me...) help?
    also - Is there a way to invert the mask?
    thanks!

    Hi Oompal
    Simple, let´s see if I´ve understood your problem
    Create any shape and position where you like. Now go to layers pallete and click create clipping layer button (bottom of the layer, the first left buttom). That´s it
    Now that shape will be used as clipping layer, and everithing you create inside this layers will be clipped.
    Am I right?
    Guidelines: Path intended to be a clipping shape must be the topmost of the layers, be selected on the artboard and its layer must be highlighted on the layers pallete to enable the action.

  • How to create a movie clip during runtime?

    I'm learning basic shooter games and my goal is to have a small circle movie clip (would it work as a movie clip?) spawn when the mouse button is pressed. I know how to add the code for the button being pressed, but I do not know how to create the object on demand. Can you please help me with this?

    For AS2, you right click the movieclip symbol in the library and select the Linkage... option.  In the panel that appears you select the first option (Export for Actionscript) and another is automatically selected.  Then you assign an Identifier for it in the field at the top.  To add that movieclip to the stage you use the attachMovie() method... for example...
    this.attachMovie("linkageIdentifier", "instanceName", this.getNextHighestDepth());
    In AS3 it is somewhat similar as far as assigning an Identifier, except you assign a Class name instead, and then add a new item to the stage as a new instance of the class... 
    var instanceName:ClassIdentifier = new ClassIdentifier();

  • How to create a intro clip that plays automatically when DVD is inserted?

    I am a pretty much a newbie to DVD studio pro and I am wondering how can I create an intro clip that will play when you insert a DVD created in DVD Studio Pro into a player? In iDVD it was fairly simple but in Pro I am getting a little stumped by it.
    Thank you.

    Click on the track in the outline or graphical view, look in the property inspector near the top for the 'end jump' settings box. Use that to specify the correct menu...

  • How to identify layer clipping masks

    Hello,
    I am trying to group layers which are in clipping masks.
    For this, I am using a key called "keyGroup".
    This property is set to 'false' for the clipping layer. For other layers in the clipping mask "keyGroup" is set to true.
    How do I make sure that this behavior is consistence or not ?   
    Where can I find the documentation for those keys which are defined in PITerminology.h and PIStringTerminology.h ?

    Hi Pfaffenbichler, thank you for your suggestion! With your help, I was able to make a collage of pictures from last year's road trip.  I thought I would share, since I couldn't have done it without your help.  Thanks again!

  • CS4 Photoshop How do I reverse a clipping path.

    I made a clipping path and accidently clipped the outside of the bottle instead of the bottle. How do I reverse the clipping path? I know there is some icon that is supposed to show up on the top control bar but I am not finding anything.
    Thank you.

    Hi. Yes, options is checked. Yes, black arrow is selected.
    No, those little boxes such as below - do not show up.
    I'll be happy to attach a picture of what I have for screen shot if you can send me a way to do it. Thank you.  I am not getting a little camera icon. Usually to attach at the bottom it says something about attaching an image.

  • How to undo permanent applying clipping mask,

    Hello,
    I hope somebody can help me.
    I'm having some trouble with the adjustment layers.
    I've made a selection that I want to brighten a bit, and then I make a selection in the wanted area, and choose "curves" in the adjustmenlayers to brighten the selected area.
    Then I also want to remove a little red, from only that selected area, and then i choose "colorbalance" and I "alt-click" between to two layers to adjust only the wanted area and not the whole picture, and it shows by a little "broken arrow" that it uses the previous layer to create the clipping mask.
    And that just works so great!
    But not any more!
    Because now it suddently applies this clippingmask permannetly - without me "alt-clicking". So, now when i choose "curves" the little broken arrow is there! And that annoys me big time, because I can't figure out how to make it stop. I know that I can "right-click" and click "release clippingmask" but my point is, I don't wanna do that, I want to make it stop doing that, unless I tell it to, by "alt-clicking" betwwen the layers.
    I've browes severeal forums, and the only thing I can find is how to make the clippingmask, not how to undo it (Undo it permanently, that is...)
    It must me some kind of settings... But I can't figure it out. Can somebode please help me?
    Thank you
    /Hanne

    From the adjustments panel flyout menu uncheck Clip to Layer:
    MTSTUNER

  • How do I make a clipping mask static?

    I have a group of objects that move around within a 700x500 px artboard. The size of one object within this group is a map that spills over outside the artboard. I want this group to only be 400 px high, but not change anything withing the group. Just shorten the height of the clip. When I tried to just clip the height to 400 the clipping obviously followed the zooming of the animation of the group. I want the hight to be static at 400 when the animation plays.
    Any ideas? Do I need a second clipping mask like I would have added if I worked in Illustrator? So I could move a whole group within a static clipping mask. If so, how do I create one?

    "1) remove the clip set to the group"
    How? When I mark the group and then click on clipping tool (only why I know to mark the clipping mask) I can´t delete it without deleting the entire group.
    "2) use style="overflow:hidden" instead of use style="overflow:visible"
    But that´s on the stage? It´s already set at hidden there. I don´t want to change the height of the stage.

  • P.S.Elements. How do i use the clipping mask for painting? I can't quite apply it for anything.

    I'm wondering if the clipping mask can be used for painting on layers. I can't get it to do anything. I'm rendering race car paint schemes. Elements doesn't have paths. I have Gimp but I want to stick with photoshop. Something about Gimp I just didn't feel it

    Could you give an example of what you are trying to do ?
    The concept of clipping mask is not intuitive at all. Besides 'normal' layer masks associated with their layer, the clipping mask is a 'normal' layer having transparency. It has a what was called a 'linked layer' in older version. The 'clipping mask' layer determines transparency of the linked layer (which is shown offset to the right in the layers panel) to show that the effect of the clipping mask is limited to the above linked layer(s). Instead of having one layer with a mask, you have a mask targetting the 'above' layer.
    The difference is that the normal mask uses greyscale values to represent transparency while the clipping mask has real transparency.
    So, the purpose being masking, I don't see how you could use it to paint ?

  • How do I make a clipping mask in InDesign?

    I know Photoshop can make use of a clipping mask to allow text or other shapes to be filled with images/pictures. How does Indesign do this?
    Is there a way to add inner and outer borders to text in InDesign? Any info would help.

    Have a look in the ID help text:
    Help > Index > C > Clipping paths.
    You can use Stroke instead of Fill or additionally.
    Use the two icons in the tool palette.
    Best regards --Gernot Hoffmann

  • How do you inverse a clipping mask

    I'm working on a tshirt and can only use 3 colors (Green, Black and Yellow).  If you look at the attached image, I need to make the brown color that is inside of the squirrel mask out the items behind it (corn stalks, rectangle and part of the "R" in "Corn Maze".  The tshirt will be grey so once the Clipping Mask is applied, it will allow the grey tshirt to become the color for the squirrel. 
    The problem I'm running into is if I duplicate the squirrel and use him as a clipping mask, it does the opposite of what I'm trying to accomplish.  I need to mask out everything inside the squirrel, not everything outside the squirrel.  In photoshop, I could just inverse the selection.  Not sure how to inverse a Clipping Mask. 
    Any help would be greatly appreciated.

    [scott w] wrote:
    Monika Gause wrote:
    Then it would be about how I would pronounce it, anyway ;-)
    Wouldn't that W sound like a V?
    In German: yes. But non when I#m trying the skquawirrrrrel in English ;-)
    @Students:
    Everything needs to be grouped:
    For just the squirrel (not its nose or other details) you set the fill to opacity 0
    Sorry for the German panels:
    Aussehen = Appearance
    Ebenen = Layers

Maybe you are looking for

  • Keep my apple ID (gmail address)... CHANGE new icloud address?

    I'm only starting a new discussion because everytime someone asks the same question I have, everyone starts providing answers to a DIFFERENT problem. The backstory: I have a longstanding apple ID.  I like it; it has worked fine.  I have an iPhone 4S.

  • Upgraded itunes, now it won't open

    Just updated to itunes, can't get it working. My quiktime works fine. We have uninstalled and installed several times. When i click on the icon it sounds like it will open but fails to. No messages pop up either, it just dosen't work. I tried a set o

  • Business Package for Sales in SAP R/3 4.6C

    Is it also possible to use some of the functions of the Business Package for Sales for connecting to an SAP system 4.6C? I want to use the standard ITS webgui and hope there are some developed templates which I can use. Best Regards, Alvaro

  • I was installing adobe reader 10 and it timed out and did not install. How can I prevent this?

    I downloaded adobe reader 10. It went through initializing, then started the installation, but it timed-out and was not successfully installed. Is there someplace I can change a setting that is causing it to time-out? How can I prevent this problem?

  • Cannot send color video. ColorEnable check box is ...

    Hi, I Cannot send color video. ColorEnable check box is disabled. I know the camera allows color but Skype does not allow me to set it up. Any ideas? Thanks in advance!