Object - Expand appearance in SDK

Hi, do you know of equivalent SDK call to reproduce UI action Object -> Expand appearance?
I tried to use ExpandSuite -> Expand and GetFlattenedArt from ArtStyle suite but the results are different
        Luky

I am really trying to expand a symbol, but after is already "copied". Here is the code
AIArtHandle slice,tsl;
error=sSymbolSuite->CopySymbolPatternArt(pat,kPlaceInsideOnTop,sliceGroup,&tsl);
EXIT_ON_ERROR(error);
error=sArtStyleSuite->GetFlattenedArt(tsl,&slice);
EXIT_ON_ERROR(error);
When I used "Expand appearance" from UI I can see on my particular art that group of arts is transformed to group of groups and paths.
However when I use GetFlattenedArt (or Expand) result is just group of paths.
I am trying to use GetFlattenedArt as I can see from the debugger that this call is used when I do UI Expand appearance action, but apparaently some othercalls are probably used in the sequence, which I can't recognize
And to give you even more background I am trying to use Cropp effect and results differ if Expand apparence is used before crop and when it is not. And unfortunatelly correct "Crop" is after using Expand appearance

Similar Messages

  • Using expand appearance option

    Hi, I am new to Illustrator CC ( I last used it on an iMac way back in 1994 - OS.9 as it was then). I work almost exclusively in Photoshop & Muse but I am trying to work through an Illustrator tutorial about creating buttons. Here are the instructions verbatim so far:
    Pick the Rectangle Tool (M) and click on your artboard. Enter 93 in the width box and 32 in the height box then click OK. This will create a 93 by 32px shape. Fill it with R=0 G=182 B=241 then go to Effect > Stylize > Rounded Corners. Enter a 17px radius then click OK.
    Now, your shape should look like the following image. Select it and hit Control + C then hit Control + F. This will add a copy in front. Have a quick look in your Layers panel (Window > Layers) and make sure that you have the two shapes created so far.
    Select the copy made in the previous step and go to Object > Expand Appearance. Select the resulting shape and go to Object > Path > Offset Path. Enter a -1px Offset then click OK. Fill the resulting shape with white then reselect the expanded, blue shape and delete it.
    Seems all very straightforward but Control+F places a duplicate on the same layer (I think!). Why not Control+J?
    Which selection tool is not specified.
    Using either selection tool and Object>Expand Appearance results in a greyed out option. Expand ... is active but when selected nothing happens.
    Where am I going wrong or is the tutorial inaccurate?

    brushwipe,
    1) as Monika said.
    When you expand the inner shape you may as well start by expanding the outer shape and then just use Object>Path>Offset Path and recolour the inner path and be done with it.
    If you wish to keep the tutorial mess:
    2) the (normal) Selection Tool (black arrow), but there is no need to use it before Object>Expand Appearance because the copy is selected already.
    3) When you have clicked Object>Expand Appearance, you should see the double Anchor Points at the rounded corners. If that does not work, and you have followed the step carefully, something is wrong with the preferences or something.

  • Illustrator - Expand Appearance...

    Hello. I've got an issue I've noticed...not sure if it's just me, or what. I recently upgraded to CS5, so maybe it's a setting I'm unaware of.
    For example...say I have a rectangular box drawn. I fill it with red, outlined with a 5pt black stroke. I go to 'effects' and add .13" rounded corners. All great so far...
    ...then I go to 'expand appearance' and that's when I get my problem. The rounded corners expand just fine, but now I have 2 separate pieces that are grouped...a red rectangle and a black 5pt stroke outline.
    Maybe it's just me, but I've been using Illy for years now and I never recall "expand appearance" making the element into separate pieces. Seems it used to expand and I'd have a red rectangle with a black stroke..all as one piece, not grouped.
    Is there a setting I can adjust to avoid this issue? Any help would be greatly appreciated.
    Thanks!!

    Expand appearance typically works this way with stroked objects. The stroke ends up as an extra compound path inlining and outlining the original shape.
    Alternative: use the Path Offset effect. The effect will give you three options for corner effects. When you expand the effect it will consume the original shape. No groups to break apart or extra paths to eliminate. For clean outlining effects I'll copy the original shape to the clipboard or place a copy of it on another layer. Apply the path offset effect and it's done. Nothing more to edit.

  • Expand or Expand Appearance

    What is the difference between Expand and Expand Appearance tool

    Expand is used to nail down live effects like Warp and Envelope Distort. Before you use Expand the effect is live and can be edited anytime, as can the object the effect is applied to, letting you edit text or modify the objects affected. Expand nails down the effect, making the path match the object’s appearance. After Expand the effect is not longer editable and text is converted to paths.
    Expand Appearance is only available is the selection has multiple fills or strokes applied using the Appearance panel. If no multiple fills or strokes have been applied, the command is unavailable and Expand should be available. If multiple fills or strokes have been applied then Expand should be unavailable. I have not kept track to see if there is ever a time one can use either command on a single selection.
    The commands really should be combined into one command, since they do the same thing, but depend on whether the Appearance panel has been used. This is example number 879 in the ongoing story of why Illustrator is such a mess. New features have been crammed in with old code and the program needs to be able to support the multiple ways users can do things. I’d bet as experience programmer, asked to document the raw source code for Illustrator, would contemplate suicide.
    The program is ancient (24 years old) and an excellent example of how not to update your software. 11 years ago Adobe released InDesign, knowing that continuing to update PageMaker to compete with QuarkXPress was a dead end and that a new program written from scratch was the better way to proceed. Sadly, there is no cross-platform professional vector application directly competing with Illustrator, so Adobe has no incentive to start from scratch and eventually let Illustrator die with dignity. So it stays on life support and we all suffer with a slow, buggy, unintuitive, confusing program.

  • Any Way to Un-Expand Appearance?

    I expanded the appearance of a brush path intending for it to only be temporary, but accidentally saved it that way. When I reopened the file, obviously I couldn't undo "expand appearance." Is there any way to un-expand it and make it a path again?

    tieba,
    Unfortunately not.
    Unless you can fall back on an earlier version, I  am afraid you will have to recreate the original path. If you are lucky with a symmetric brush, you may be able to cut the object at the ends and create a 1 step blend between the bounding paths and expand the blend thus getting access to the central and hopefully original path, and then you may reapply the brush.

  • Is there a way to script "expand appearance"?

    I have created a method to create line art roof shingles row-by-row. I think something like this is a good candidate for scripting, but I run into a dead-end quickly when trying to script this. Basically, I use "expand appearance" multiple times during the course of this process and I can't find any way to script that action. I have heard about using MenuIDs, but I can't find anything on how to discover what the MenuID for "expand appearance" is.
    Anyhow, here is the tutorial. If anyone can give me some pointers on how to script this process, I would be very thankful.
    I have also tried recording an action, but "expand appearance" doesn't get saved.

    I used the recorder to record an action. The Expand Appearance step didn't record. I just now noticed you can add menu items to actions from the drop-down menu. Trying that. The next step is to add the tweak and roughen steps to the action.
    I'm using Windows BTW and was going to script in javascript.

  • Why do I get an extra set of anchor points when I "Expand Appearance"

    When I use the expand appearance?  First I create a rectangle then I transform it vertical or horizontal I create 2 copies, then expand appearance. I see double the amount of anchor points.  I was trying to copy a youtube video and when they do it the amount of anchor points does not double. I am doing the expand appearance in order to use pathfinder tool shape mode unite in order to create shape inside.  The Youtube video I was trying to follow is below. Any help is appreciated! I kinda of got stuck inthe the very begining.

    Depending on what version of AI, what specific appearance is used and a couple of other things this may happen. Some are bugs, others logical like theprogram inserting extra points to retain the shape of paths. In any case, you can always remove extra points if they get in the way, though most likely you will see other unwanted points after the pathfinder operations, anyway.
    Mylenium

  • How do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    how do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    if you see all the different panel. I past the info in and have to manually expand the width of every panel. Is there a way of pasting the text in and the panel moves to the right with so that there is an even space on both sides of the blue panel?

  • How do I get 1 object to appear behind and in front of different parts of a Letter?

    Hi, I'm using Illustrator CC, there are 4 orange objects and the letter A in the image below. The blue arrow is to point to where I want the orange object to appear in front of that part of the black letter A. The green arrow points to where I want the orange object to remain behind that part of the letter A. Can anyone suggest how I make only the orange part (blue arrow) appear in front of the letter A, while still retaining the orange gradient? I tried using the scissor tool to slice the object in half and then re-arrange, but that tool seems to 'reset' the gradient.

    Obelix,
    You may (keeping the A as live Type if you wish):
    1) Create a stroke/nofill object that covers the part of the orange object to go in front of the A;
    2) Copy the orange object and move the topmost one in front of the A (or the bottommost behind it);
    3) Select the object from 1) and the topmost orange from 2) and Object>Clipping Mask>Make.
    With this, part of the topmost orange object will be clipped out so you can see the bottommost one go behind the A where it should.

  • Is there any way to join paths after expanding appearances?

    I'm drawing very simple forms to send to a laser cutter and I need them to be symmetrical. I'm using the "transform" tool to mirror my drawing, then expanding the appearance at the end. But once I have 2 full paths, I can't get illustrator to join them. I've grouped them, ungrouped them, made a copy of the drawing, tried everything I can think of. I swear it actually used to do this so maybe my software is corrupted (I'm using CS4- yes, the dark ages!) so if I need to just move forward that's cool- but if there's an easy way to get this to work I might just stick with the old stuff since this is really all I use it for, and very infrequently.  Thanks for any thoughts!

    Jacob,
    Thanks for the response! It's possible I'm misunderstanding the expand feature, but it seems that until I expand appearances and turn the "mirrored" path into a "real" path, there is no second half to join to, so I couldn't do it beforehand. I tried the suggestions that you and Monika made about trying the Unite/merge etc. in the pathfinder panel, but they didn't work. What's confusing me is that if I simply draw two scribbles with the pencil tool, it's two clicks to join the ends of those paths to make an enclosed form. I can't understand what it is about the lines made by expanding appearances that marks them as somehow different from plain old lines. They look the same, behave the same in all other ways but the software balks when I try to join the endpoints. I even tried clipping a little bit of the ends of the two paths I want to join, just to see if it would "reset" something about the lines, but that didn't work either.  I'm attaching an image of one of the forms- neither the top points or the bottom ones are joined. Hope that clarifies what I'm trying to do- I drew the left half with the "copy" reflecting using the transform feature, then when i liked the way the whole thing looked I hit "expand appearances" to end up with two usable halves. I'm not at all attached to that method of getting the two halves; in fact it does work to turn the "transform" effect back off and simply use the reflect tool, but that's more cumbersome and it seems silly that just joining the endpoints can't work. Any other thoughts would be so appreciated!

  • Cant expand appearance in illustrator

    the expand apppearance option is greyed out when i select one of the lotus flowers on the left. All i want to do is get rid of the unwanted lines in the petals. Any ideas
    Thanks in advance

    herms_ra,
    I am afraid this is not something for Expand (Appearance).
    Presuming you have closed individual paths, you may select the relevant ones and Pathfinder>Divide, then delete the unwanted ones.
    Or you may click on the paths you wish cut parts off, then cut with the Scissors Tool and delete the newly cut unwanted paths. Smart guides are your friends, telling you when you are there (saying intersect where the paths cross).

  • Expand Appearance of Multiply

    Hello,
    I have a question about expanding appearance and multiply. I work in print-on-demand, and one of the limitations is that we can not use multiply on artwork. In order to achieve a similar appearance, when I receive these kinds of files, I flatten transparency, and that will sear in the way the multiply effect is interacting with the other elements of the same art file. (in the example below there are no interacting elements) However, if it is intended to interact with the background, I have to fiddle with the cmyk values (adding k) and opacity level until it is as close as possible. It is time-consuming.
    Someone suggested we use 'expand appearnce' instead, and I tried it once and it worked! It did all the legwork for me; it spit out a different cmyk value and opacity level that mimics the effect of multiply, so I don't have to calculate it manually. However, I can't get it to work again. Illustrator thinks it is already its simplest form of appearance and will not expand it further. I've tried adding another effect and expanding but it will only expand the effect and keep the multiply.
    Maybe she and I were both tripping when we thought it worked once? Does anyone know how to expand the appearance of multiply? Here's a picture of the 3 methods I'm speaking to: on the left is multiply, the center is flattened transparency, and the right is achieving a similar effect of multiply with opacity & color build.

    I can send you examples of an original, unexpanded and an expanded, and also one that I dialed in by hand. How do I send it over?
    We can't use any overprint fill attributes, because this is for print-on-demand, and aside from the possible complications with the InDesign Processor, things can disappear on darker backgrounds, and we have no control over what the customer does. They could put it on a black background and then wonder where it went!
    Flatten transparency is great for when the elements are only meant to interact with each other within one file, but what is hard is when it's supposed to interact with other elements, such as a background or another asset. Since this is print-on-demand, we can't place it in the file and set it to multiply, it has to have it built in with opacity and a tweak of the cmyk values. Here's an example of one where flatten transparency works fine:

  • What is the difference between Object Outline Stroke, Object Expand..., and Object Compound Path/Make?

    Could anyone explain the differences between these three commands? I created a circle with a stroke, applied all three commands, and ended up with the same thing, a compound path. Are there situations where this is not the case, or situations where one of these commands is more appropriate?

    Cleveland,
    In the case of the straight stroke/nofill, object>outline stroke and object>expand seem to do the same thing.
    In the Layers palette you can see the three different outcomes for Expand if you have both Fill and stroke ticked, only Fill ticked, and only Stroke ticked. Only the last one corresponds to Outline Stroke.
    You should use Outline Stroke as the simplest one if that is what you need. Compound Path is for creating something with one or more holes from multiple paths, or for collecting paths to forrm the Clipping Path of a Clipping Mask. Expand is for the rest.

  • Is there a Business Objects Data Integrator API / SDK to "execute" DI jobs?

    Hello,
    I am searching for a Business Objects Data Integrator API / SDK that can be used to remotely execute BOBJ DI jobs (like in scheduling BOBJ XI docs).
    I found AdapterSDK from BOBJ DI but this is used to create adapters usable with DI (for various sources and targets). I am interested only in executing an already created job...
    Thank you in advance,
    Adrian Mitrica

    You'll probably be better off posting here:
    [SAP Community Network Forums » Enterprise Information Management » Data Integration and Quality Management|
    I'm just going by the description of the forum but that looks better than this one(?):
    This forum is dedicated to topics related to Data Integration (Data Integrator, Data Federator, Text Analysis for Data Integrator, Rapid Marts, and Integration for PeopleSoft Enterprise), Data Quality (Data Quality and Data Insight), and Metadata Management.
    I'd move your thread but I do not have the rights to do this move...
    Good luck,
    - Ludek

  • How to control button "services for object" which appears in cv01/02/03

    Hi Gurus,
    In tx cv01/02/03, I get a button at the top of the window called "services for object", which gives me options as ....
      Create------(attachment/note/external document/Store business documents)
      Attachment List
      Private note
      Send (Send object with note/Object outbox)
      Relationships
      Workflow
      My objects
      Help for object services
    With the help of this button I can even attach documents in CV03 tx. through create attchment.
    Can we control appearance of this button according to the transactions?? e.g. in CV01 and CV02 it should appear, but in CV03 it should not allow to create further attachments.....
    Thanks in adavnce!
    Regards,
    Akshay

    Thanks a ton Benakaraj !!
    I am working on it...... will let you know the outcome....
    I am just not clear abiout where to insert the sodes given in the pdf   ???  pLease let me know.
    Thanks a lot,
    Akshay
    Edited by: Akshay Kurhe on Jun 5, 2009 11:17 AM

Maybe you are looking for