Results 1 to 5 of 5

Thread: ObjectWillBeDeleted event

  1. #1
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default ObjectWillBeDeleted event

    An event of that sort would be useful if a programmer needs to get information about an object before the deletion occurs. After the object is deleted all you can get is the ID. (This wish was paraphrased from a post in the Autodesk discussion groups.)

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: ObjectWillBeDeleted event

    Come on folks! 8 views, but no ratings yet?

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: ObjectWillBeDeleted event

    With a cancel option? That would be useful. People have wanted a way to prevent deletion of objects or file locking. If you could cancel the deletion (like most other programs have, e.g. record deletion in Access. After all, isn't a dwg a database? Why can't it act more like one? At least add it to CAO.) then you could do error checking or check user's password or rights. Rates 5 stars by me.
    Last edited by Ed Jobe; 2004-06-22 at 02:24 PM.
    C:> ED WORKING....


    LinkedIn

  4. #4
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: ObjectWillBeDeleted event

    I doubt we would get a cancel option, but even if we could read the info before the delete it would be nice. Thanks for the rating!

  5. #5
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: ObjectWillBeDeleted event

    I don't see why not, maybe I'm just naive. If you had such an event, theoretically, you could recreate an ent after it was deleted. So why not just cancel the deletion? Maybe that's why we don't have such an event now? We want it ALL!
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Replies: 9
    Last Post: 2014-07-07, 02:40 AM
  2. Event Viewer
    By clarkl in forum AutoCAD Civil 3D - General
    Replies: 3
    Last Post: 2011-11-04, 03:45 PM
  3. Selection Event
    By gdaniels in forum VBA/COM Interop
    Replies: 1
    Last Post: 2008-04-23, 06:07 PM
  4. VB.Net DocumentCreated event
    By KevinBarnett in forum Dot Net API
    Replies: 0
    Last Post: 2006-01-31, 08:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •