insert within lispy

MikeB

Usenet Archive
Joined
Sep 23, 2000
Messages
16
Reaction score
0
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.
 
well, if you'll accept a non-guru answer
(command ".insert" "block 01" "_non" p1 "" "" "")
(command ".insert" "block 02" "_non" p2 "" "" "")

mikeB said:
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?

yep
 

Latest threads

Back
Top