Want to mass-delete an object

I have a 700 page document that has thick rule objects I wish to mass-delete. I am putting them on master pages for consistency and to isolate them to their own layer. The ones I wish to delete are all locked, but are inconsistently positioned.
The Find/Change dialog provides for finding objects that meet certain criteria, but I see no option to DELETE the found object, just to CHANGE it. I realize there is a certain amount of danger in such an option, but If I were to change the objects to some unique color before subsequently searching on that color and deleting them all, that would be a kind of safety step.
As a safer alternative to deleting the objects automatically, I would like the option to move these found objects to their own layer, so that I could just delete the entire layer after reviewing what was placed there.
Can this kind of mass deletion or mass movement to another layer be done?

OK, here you go—it appears to be necessary to calculate the length with the Pythagorean theorem (distance formula), since InDesign just returns the corners of the bounding box surrounding the stroke.
Also, for convenience, the commented-out lines print out some information about each rule that is operated on -- you might uncomment them and comment out the .remove() if you want to see what it is going to do first.
var
    i,
    doc = app.activeDocument,
    rules = doc.graphicLines,
    bounds, length, x, y, g;
for (i=rules.length-1; i>=0; i--) {
    g = rules[i].geometricBounds;
    x = g[3]-g[1];
    y = g[2]-g[0];
    length = Math.sqrt(x*x+y*y);
    if (rules[i].strokeWeight >= 2 && length > 4) {
        // $.writeln("Found rule "+i+" x "+x+" y "+y+" length "+
        // length+" weight "+rules[i].strokeWeight);
        rules[i].remove();
strokeWeight appears to give the apparent stroke weight, regardless of whether it was initially set or if the rule was scaled to get there.

Similar Messages

  • Mass deletion of Object link of IN05 transaction

    Hi Guys,
    We have a possibility to mark an object link for deletion via transaction IN05. Do we have any possibility to do the same in mass and not object link by object link??
    Please help me, if any one have idea of this.

    I dont think there is any standard transaction to do this in mass.You may have to develop some custom program to accomplsih this.
    Thanks
    Narasimhan

  • Mass deletion of vendor

    Dear Gurus,
    I want executing mass deletion of the vendor using XK99 for Vendor (3000) and puchasing organization. for which i hve seleted
    tables: vendor master records purchasing organization data
    fields: del flag. porg (Lfm) = LFM1-LOEVM, but upon selection and save, system is giving error.
    Field LFM1-LOEVM. is not an input field
    Message no. 00347
    Diagnosis
    A transaction is processed using batch input.
    System Response
    The runtime error field xxx occurs (invalid entries)
    Procedure
    Correct the batch input data. Depending on the processing scenario, this can affect either of the following objects:
    Batch input session
    CATT procedure
    Application program
    Kindly help
    REgards,
    Prashanth Pai

    Hi all,
    This thread says its answered. But, the solution is not given. I request the threads starter to kindly put up the solution as I am facing the same problem.
    I don't have this problem in Quality or Development, but only in Production. Also there is no version change in the program of the MASS transaction in any of the three systems.
    Also, will the thread starter post what error message he got on running xk06 for the concerned vendor and purchasing organization?
    Thanks!

  • Mass deletion of parked LIV invoices

    Hey Guys:
    I want to Mass delete the parked EDI LIV invoices. I have implemented note <b>971193 - FIPP: Mass deletion of parked documents</b> which is pulling data from FBV0...which is not the place where parked EDI LIV invoices are in.
    I have found a table RBKP which is having my parked LIV invoices document numbers.
    Can some of you give me a solution from where exactly we can mass delete these parked LIV invoices which have not touched the F1 yet.
    Thanks
    Gitaa

    hi Gita,
    If you want to Mass reversal then go to Tcode F.80.
    Thanks
    Ranjit

  • For iPhone 4S. How do I mass delete all the emails in my inbox?

    iPhone 4S. iOS8.1. App - Mail. I want to mass delete all the emails in my inbox. How can I do this without having to delete each email individually?

    How to delete thousands of emails

  • Mass delete the parked EDI LIV invoices

    Hey Guys:
    I want to Mass delete the parked EDI LIV invoices. I have implemented note <b>971193 - FIPP: Mass deletion of parked documents</b> which is pulling data from FBV0...which is not the place where parked EDI LIV invoices are in.
    I have found a table RBKP which is having my parked LIV invoices document numbers.
    Can some of you give me a solution from where exactly we can mass delete these parked LIV invoices which have not touched the F1 yet.
    Thanks
    Gitaa

    Have you tried Mir4

  • Mass deletion of maintenance orders

    Hello Experts,
    I want to mass delete orders (approx. 3000 orders) which are in created status.
    For this I need to set "do not execute status" first & then I can put the deletion flag.
    But in list mode of orders, there is no facility to do this.
    Pl suggest.
    Regards,
    Vijay

    Sir
    I was trying to delete mass orders from SAP PM module, just wanted to know what has to be assigned in the Maintain Source Fields,
    We have made the partner responsible mandatory while doing any action so when i do do not exectute system props me to enter the Partner responsible
    Also with the lsmw only the first order gets closed remaining orders no action take place

  • PO Mass deletion

    Hi
    I want to mass delete some 1000 POs in a test environment & reload the same.
    How to mass delete those POs.
    Is it possible to delete at header level?
    or by item level  means how to proceed?

    Hi
    Archiving is A much simpler process than deleting from the tables, no one should propose to delete transaction data from tables.
    How may table will you delete there are nearly 5 to 6 tables assosociated with the main EKKO table
    Flag them for Deletion & archive them using ME98.... its quite simple & easy to use.
    Thanks & Regards
    Kishore

  • HT4899 Does anyone know when iOS5 will be available? That would efficiently solve to problem of mass deletion of email on the iPhone 4S. Michael

    Does anyone know when iOS5 will be available for the iPhone? It seems to have an efficient method for deleting emails in bulk.

    I assume you mean iOS 6.  The only official statement has been that it is coming "later this fall".  In the meantime, if you want to mass delete email you can always go to the webmail site for your email account and delete them there.

  • Mass Deleting

    I have a ton of photos (600+) I imported for someone else to view from a CD. The were taken over several months so they go plopped in the middle of my library and mixed with all my pics. I was able to create an album with this other persons photos. Now I want to mass delete them. If I delete the album the photos remain in the library. Is there a quicker way to mass delete them rather than sort my library and pick them out one by one?

    Brad:
    When you're in an Album you need to use the Option+Delete key combination to move those files from the album and main library into the trash bin where they can be deleted.
    Do you Twango?

  • Mass deletion of executed forecast

    Hi PP experts,
    I have one issue. I have executed forecast using MP38 transaction at plant level and now I wanted to delete the forecast which is created through MP38. I wanted to mass delete the forecast
    I tried to delete using MP33, but it did not delete. Please help me on this.
    Regards
    Purushothaman

    Hi,
    Thanks for your reply. The second program:RMCPMLOE works. Thanks a lot....
    Regards
    Purushothaman.

  • Mass deletion of batches - SAP Archiving Object MM_SPSTOCK

    __SAP Archiving Object MM_SPSTOCK (Batches and Special Stocks)__
    Would like to know if there is any standard program or report available through which the batches (to be deleted) can be set with a deletion flag. We are in the process of implementing the archiving object MM_SPSTOCK and the batches have not been flagged. There is no pre-processing job for MM_SPSTOCK that can be used to set the deletion flag for all eligible batches.
    This object MM_SPSTOCK does not have any date or selection criteria for the write job. All batches with set deletion flag will be archived/deleted.
    We are in the process of implementing LO_CHVW (Batch where-used data) for which imlementing MM_SPSTOCK is a pre-requisite.
    Would appreciate any leads around this. Any other suggestions around the MM_SPSTOCK & LO_CHVW will be great.
    Thanks
    Sam

    I am basically looking for a method (program / report) through which mass deletion flag can be set for eligible batches prior to using MM_SPSTOCK archiving object to archving / deleting the batches.
    Thanks
    Sam

  • Mass Deletion Of Purchase Requisitions Without Using LSMW

    Hi,
    We would like to delete huge volume of PR generated through MRP. Deleting PR will be a frequent activity in our business scenario. Since the person responsible for MRP is not very much conversant with LSMW, we want to avoid using LSMW.
    I tried with MEMASSQR. But 'deletion indicator' field is not available in the field list.
    Is there any method through which I can carry out mass deletion of PR?

    Hi,
    I've tryed this from Manish Kumar Agarwal :
    Go to SM30 enter the table MASSFLDLST
    then create the new entry object type = BUS2105
    Table name = EBAN Field:- "EBAKZ" (Purchase requisition closed)
    Then run MEMASSRQ and select this field and then PRs after tnat on next page you will get option like film:- carry out mass changes go ahead with it.
    But strangelly, it doesnt appear in the memassrq... any idea?

  • Deletion of Parked Invoices - Mass deletion

    Can any one please guide the T.code for the Mass deletion of parked IRs.
    With regards,
    Gokul.

    Mass Archived/Deletion of Parked Invoice Document:
    T.code : MRA2 -Delete Documents/Archiving Invoice
    You can excute the standard program for invoice deletetion RM08RADE  the invoice documents from Invoice Verification that were archived with program RM08RARC (object MM_REBEL) from the database. Also this will execute in Test mode But its Records are deleted from the following tables:
    RBKP: Document Header: Invoice Receipt
    RBTX: Taxes: Incoming Invoice
    RSEG: Document Item: Incoming Invoice
    RBCO: Account Assignments
    RBWS: Withholding Tax Data, Incoming Invoice
    KONV: Conditions in the Incoming Invoice
    NAST: Message Status
    RBVS: Splitting the Vendor Line Item
    CDHDR/CDPOS: Change Documents
    Prerequisites :
    Documents that have reached the end of the retention period set in Customizing. For the retention period, the posting date in the invoice document header is relevant. If no retention period is set in Customizing, the system uses 9999 days as the minimum retention period.
    Procedure
    1. If the program is only for testing purposes, that is you do not want it to actually delete any data, select the option Test run.
    The variant entered in the Archive Customizing (Environment -> Customizing) under Settings for the deletion program in the field Test run variant, is used in this case.
    (If the test run option is not flagged, then the system will use the variant which is specified in  Archive Customizing in the field Productive run variant.)
    2. Specify which data should be deleted with the pushbutton Archive selection.
    3. Specify when the job should run with the pushbutton Start time.

  • Mass Deletion of Purchase Requisitions

    Hello Gurus,
    I have a unique issue. Our SAP system creates multiple MRP generated purchase requisitions on a daily basis and we do not have the manpower to delete each single PR using the ME52N transaction. I checked the MEMASSRQ transaction which is used for mass changes of PRs. However, in MEMASSRQ, there isn't any field mentioned particularly for deletion or blocking of purchase requisition. I found a BAPI, BAPI_REQUISITION_DELETE, but even this BAPI is used to delete the PRs one by one. Not for mass deletion.
    Right now, there are around 4000 PRs in our system which are lying and we have to delete them all. So, I want your help in finding out whether there is a transaction/report available for mass deletion of purchase requisitions.
    Your suggestions would be very much helpful for us.
    Thanks and Regards,
    Umakanth

    Hi,
    Perhaps you can try to archive them. Check archiving object MM_EBAN. See not Note 123900 - Archiving purchasing documents/purchase requisitns for futher information.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for

  • Adobe Creative Cloud can't signin  is there alternative to downloading these programs?

    I just purchased Adobe Creative Cloud and when went to sign in all it would do is sign me out in which I never got to sign in lol is there alternative way to download this software as I have Photoshop and Lightbloom

  • Where are the jar files downloaded.

    When I run a javafx sample, the first time, it downloads so many jarfiles to a particular place on my box. When I run another sample, it downloads some other jar files, and I can bet some of the jar files downloaded by the previous sample are also do

  • Workflow Parameters

    Hi All,,,, I have a issue ,,,,,, When code is called from backend(toad) it is working correctly and passing notification to standard apps home page. But from front end when i call it through jdev its not getting called ,,, Below is my code,,, In PFR

  • UnsatisfiedLinkError: ocijdbc10.dll: %1 is not a valid Win32 application

    we are running 64-bit Oracle client and getting the following exception in JDBC application when trying to use OCI JDBC URL: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\oracle\product\10.2.0\db_1\BIN\ocijdbc10.dll: %1 is not a valid

  • Problem Accessing Hotmail

    I've been encountering a strange problem with an ADSL connection . The users are not able to log in to their Hotmail accounts. The connection times out . I cannot see any inbound connection dropped from the log , but I cannot excluded it . How can we