help with activex please...

Discussion in 'AutoCAD' started by Devin, Mar 5, 2004.

  1. Devin

    Devin Guest

    I can't seem to give the vla-insertblock function a 3d-point, does anyone
    know why? This is my first time using vla-insertblock. But this is what i
    get...

    Command: (vla-InsertBlock (current_space) (ed_path "blocks/ed_tb_a_sd.dwg")
    (vlax-3d-point (list 0.0 0.0 0.0)) 1.0 1.0 1.0 0.0)
    lisp value has no coercion to VARIANT with this type: #<variant 8197 ...>;

    Thanks,

    Devin
     
    Devin, Mar 5, 2004
    #1
  2. Devin

    Jeff Mishler Guest

    Check the order of the arguments passed......

    Hint, "InsertBlock" wants the inspoint first, then the name......

    HTH,
    Jeff
     
    Jeff Mishler, Mar 5, 2004
    #2
  3. Devin

    Devin Guest

    Thanks Jeff,

    Sometimes I'm just in too deep :)

    Devin
     
    Devin, Mar 5, 2004
    #3
  4. Devin

    Jeff Mishler Guest

    Sure thing....

    I'm always in too deep, I just keep a safetyline attached for a quick
    exit..... ;-)

    Jeff
     
    Jeff Mishler, Mar 5, 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.