How to delete a path item from within a group item?

I am generating and downloading QR codes in vector format (.eps).  I use VB scripting to place each QR code into an Illustrator document for later laser etching as a batch.  Each QR code is comprised of a bunch of small, individual filled squares all enclosed in a single large transparent square.  Here's a sample of one of the QR codes: http://laserfolly.com/2753.eps  When etching, the laser control software interprets the outside bounding square in such a way that it confuses its "inside out" algorithm used to determine whether a given path item should be etched, i.e., is it "filled".  This causes the some of the individual squares to be interpreted as not filled... even though they are.  If I delete the outer bounding square path item then all is well.  But there are hundreds of these codes in every batch... so it is time prohibitive to delete those outer squares by hand.  Here's my ask: does anyone know how to use Illustrator scripting (I'm using VB) to identify that outer square and delete it at the time that it's placed in the batch document?
Thanks in advance for any help you can give.
Bob

Thanks, Mark.  That makes sense.  However, when I search all the paths in the document there are none that have a true clipping property.  My suspicion is that the bounding square is just that, a square drawn by the qr code api as a frame around the code.  You got me thinking though.  I figured out that I can identify the relevant path simply by it's dimensions and then delete it.  So here's the new sticking point: I don't think the Illustrator object model allows for interrogating path items within a group, i.e., you have to iterate through all the pathitems in the document.  Ideailly, I'd like to be able to look at only the paths within the QR code, which I add to the document as a placed item... which Illustrator treats as a group.  This document has tens of thousands of paths and so looping through all of the them to find the 50 QR codes would be super inefficient.  What do you think?  Is there a way to iterate through just the paths in a placeditem/group?
RE VB vs. JS, I can write in both but there are a lot of reasons I'm using VB on this project.  The main reasons are that the customer is using Excel for data internally and Excel VBA is a really strong VBA object model.  I've also written more than 500,000 lines of the stuff in my career so I'm pretty comfortable solving complex problems with it.  Also, the IDE and the run-time debugging engine is oh so great for rooting out the nasties.  :-)

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • How to delete the line item from a sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • How do you select individual items from within a group?

    Hi, All.
    New poster. Forgive me if I miss any forum etiquette.
    Currently using Indesing CS6 on Mac Osx 10.7.4
    I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
    For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
    I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
    The select options (slect next item below etc. just don't work)
    For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
    I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
    Any help much appreciated.
    Thanks

    Hi, winterm.
    Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
    That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
    The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
    If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
    Am I going mad?

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

  • HT1918 I need to know how to delete my credit card from account because I know longer have a credit.  I just want to be able to up date my Apps but I can't now because there is a credit card on my account what do I need to delete it.

    I need to know how to delete my credit card from account because I know longer have a credit.  I just want to be able to up date my Apps but I can't now because there is a credit card on my account what do I need to delete it.

    I need to know how to delete my credit card from account because I know longer have a credit.  I just want to be able to up date my Apps but I can't now because there is a credit card on my account what do I need to delete it. Also my credit has expired so i need to delete it.

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • HOW TO DELETE ADOBE READER FILE FROM ADOBE READER

    HOW TO DELETE ADOBE READER FILE FROM ADOBE READER@ !@

    Your question make no sense. What exactly are you trying to do?

  • How to delete a single request from DSO in BI 7.0

    Dear Experts,
    Could you please tell me how to delete a single request from DSO?
    I mean, in DSO if we delete one request it also delete the requests which are above it. But i don't to delete the above it.
    Please suggest me this issue.
    Regards,
    Prathap

    IN DSO--its a very basic thing....
    ACTIVE TABLE and CHANGELOG tables are overwritten after activation of each request.
    So ,each new request has a realationsip with the older request.
    So in the cases:
    1.If you activate the older request it will delete the new one ,because changelog entries have been written from the data of new request on the basis of the older one.
    e.g older request  entries:
    a x 1
    new request
    a x 2
    change log
    a x 1
    a x -1
    a x 2
    so its quite obvious you can't have  a x 2 directly (because in the infocube you will be sending wrong entries by deleting the just the older request and loadning new request).
    2.If you have activate new and old request toghterh then also system will not allow you to delete the newer request alone and you will have to delete both the requests.
    I guess already someone proposed correct solution to you ...thats selective deletion...but rahter than doing selective deletion there is a better way if you want to cancel out a particular request:
    thats request reverst posting
    IN the process monitor of any particular request you can find out the option for request reverse posting..Its good for individual request cancellation(keyfig values will become 0 for that particular request)
    regards,
    rk

  • Does anyone know how to delete credit card details from an Apple account?

    Hi not sure if this is posted in the right place but i'll give it a go anyway.
    Would anyone know how to delete credit card details from an Apple account?
    Someone posted selecting 'none' in the payment section would work but i logged into my account online on a computer there aren't any options at all to do this.
    I tried hitting edit but there isn't a delete button.
    If anyone knows any help would be most appreciated!
    -F

    Answer should be here:
    https://discussions.apple.com/message/12832322#12832322

  • How to delete the downloading items in itunes?

    how to delete the downloading items in itunes?

    Unfortunately, this doesn't work. If you let them download and delete them, they just download again at some point in the future. I've been trying to figure this one out myself, but so far, every time I remove something, it comes back "later".
    Steve

  • HT3702 How to delete credit card info from iTunes account

    How to delete credit card info from iTunes account?

    HI KiwiMCB,
    Please Contact Customer Care; an agent will be able to help you with that.
    Best,
    Sara

  • How to delete multiple email messages from my Iphone 5c; email folder?

    How to delete multiple email messages from my Iphone 5C; email folder.

    there used to be option to keep last 50,100,200 messages/emails. We need that back. This is ridiculous to delete one by one.

  • How to delete the Hierarchy data from Infoobjects.

    How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
    When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

  • How to delete backend system data from GRC,GRC 10 AC

    Hello experts,
    we have connected multiple ECC systems to GRC by creating connectors with respect to each system and
    currently we are using,now due to some reasons customer requested to delete complete data from
    one of the ECC system from GRC.
    we are using only access control with all components
    please  suggest how to delete all relevant data
    from GRC system
    Thanks
    GRC Admin

    Hi,
    You can use program GRAC_DELETE_ACCESS_RULES to achieve your requirement.
      2075597 - How to delete specific system from SPRO
    Regards,
    Madhu.

Maybe you are looking for