Need help with VBA

Discussion in 'AutoCAD' started by freedom_sure sir, Sep 8, 2004.

  1. I have many 3D-Solids in the drawing space and want to check if they
    interfere with the other specified 3D_solid.
    The resulting 3D-Solid is stored in "checkobj".


    Dim obj As AcadObject
    Dim checkobjAs Acad3DSolid
    Dim Schnitt As Acad3DSolid
    for each obj in ThisDrawing.ModelSpace
    Set Schnitt = Werkstück.CheckInterference(obj, True)
    next



    when i use "for each loop ",erro comes to me:

    incorrect datatype :-13

    how can do ?

    freedom_sure sir
     
    freedom_sure sir, Sep 8, 2004
    #1
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.