runtime error'-2145320949(8021000b) Calling method clear of interface..PROBLEM

Discussion in 'AutoCAD' started by lindsay, Sep 29, 2004.

  1. lindsay

    lindsay Guest

    what is the mean of this errror every time I met:"runtime error'-2145320949(8021000b) Calling method clear of interface IAcadselection"
     
    lindsay, Sep 29, 2004
    #1
  2. Don't know - post some code and maybe we can help you

    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Sep 29, 2004
    #2
  3. lindsay

    Ed Jobe Guest

    Or you might be able to at least figure out what it causing it. Set a
    breakpoint at the start of your code and run your sub. Then when the
    debugger breaks into the code step through it one line at a time until you
    get the error. Now you know what's causing it. If you can't figure out how
    to fix it, you can come back here and post the line of code (plus some
    before that) that the debugger highlighted and we can have a better idea how
    to help.
     
    Ed Jobe, Sep 29, 2004
    #3
  4. lindsay

    MP Guest

    well, for what its worth, now I got that same error.
    First time i remember seeing that exact wording
    ac2005

    Dim ss As AcadSelectionSet

    this line highlighted
    Set ss = ThisDrawing.PickfirstSelectionSet

    this routine has worked for long time ok
    (except for when acad's known selection set bug rears it 's ugly head)

    Latest intervention on the system was servicepack 1 install

    then when I stopped execution with the vba ide acad disappeared
    Mark Propst
     
    MP, Sep 30, 2004
    #4
  5. lindsay

    johnsonm Guest

    I too have gotten this error. It is just using the example in the developers guide. It has only stopped working. I have all the updates to adt 2005. Has anyone found a fix for this?
     
    johnsonm, Oct 25, 2004
    #5
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.