collection set remove all

Discussion in 'AutoCAD' started by fischer, Oct 10, 2004.

  1. fischer

    fischer Guest

    hi

    1- how can i remove all the items in a collection set ?
    2- if i dunt remove the items in a collection set. when i recall the code
    (continously) it starts with

    dim a as newcollection

    does that means all the data will be deleted?

    regards
     
    fischer, Oct 10, 2004
    #1
  2. fischer

    fischer Guest

    i got it thnx

    but i tried ur second alternative before writing the first message i get out
    of range error. dunno why
     
    fischer, Oct 10, 2004
    #2
  3. newCollection.Remove 1
     
    Paul Richardson, Oct 10, 2004
    #3
  4. (1) or 1 shouldn't make a difference though...
    Also don't use 0 you'll get an error..If your
    using a counter start at 1...
     
    Paul Richardson, Oct 10, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.