insert within lispy

Discussion in 'AutoCAD' started by mikeB, Aug 11, 2003.

  1. mikeB

    mikeB Guest

    hello gurus,
                   (setq p1 (getpoint "\n Enter First Point: "))
      (setq p2 (getdist p1 "\nEnter Second Point: "))
      (command ".line" p1 p2 "")
      (command ".insert" ?

    I want to insert block 01.dwg at p1 and block 02.dwg at p2.
    how should i write this? I suppose i should locate my blocks to a support path as well right? thanks a lot.
     
    mikeB, Aug 11, 2003
    #1
  2. mikeB

    Mark Propst Guest

    well, if you'll accept a non-guru answer
    (command ".insert" "block 01" "_non" p1 "" "" "")
    (command ".insert" "block 02" "_non" p2 "" "" "")

    path as well right?

    yep
     
    Mark Propst, Aug 11, 2003
    #2
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.