
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone
Just learning to use autocad & visual lisp for 1 week, and .. i have some question...
1.
Where to find the command list guide:
I've searched lots of website, but no one shows how to set the parameters.
for example:
BOOL Rectangle( int x1, int y1, int x2, int y2 ); BOOL Rectangle( LPCRECT lpRect );
2.
I've made the line as below ("before"), and i need to change them to "after".
If use mouse click, it is very simple by "trim", but I have no idea about how to make this by visual lisp.
the code i am editing: (seems fillet is not a good idea)
(command "mirror" objLineD2 "" pt2 pt3 "n")
(setq objLineD4(entlast))
(command "move" objLineD4 "" ptMove0 ptMove1) ;
(setq objLineD4(entlast))
(command ".copy" objLineD1 "" ptMove0 ptMoveLB)
(setq objLineDummy01(entlast))
(command ".copy" objLineNeck "" ptMove0 ptMoveLeft)
(setq objLineDummy02(entlast))
(command ".copy" objLineD2 "" ptMove0 ptMoveLT)
(setq objLineDummy03(entlast))
(setq ptDummy_L01(polar ptDummy_L00 (+ nTheta 0) 3) )
(setq ptDummy_L02(polar ptDummy_L00 (- (* pi 2) nTheta ) 3) )
(command "line" ptDummy_L00 ptDummy_L01 "")
(setq objLineDummy11(entlast))
(command ".copy" objLineDummy11 "" ptMove0 ptMoveLT)
(setq objLineDummy12(entlast))
(command "line" ptDummy_L00 ptDummy_L02 "")
(setq objLineDummy13(entlast))
(command ".copy" objLineDummy13 "" ptMove0 ptMoveRT)
(setq objLineDummy14(entlast))
(setq ptBound_L (list (car pLT) (- (cadr pLT) nPitch_Y)))
(command "line" pLT ptBound_L "")
(setq objLineBound_L(entlast))
(command "fillet" "r" 0)
(command "fillet" objLineDummy11 objLineDummy14)
(command "fillet" objLineDummy01 objLineBound_L)
(command "fillet" objLineDummy01 objLineDummy02)
(command "fillet" objLineDummy02 objLineDummy03)
(command "fillet" objLineDummy03 objLineBound_L)
------------
Thank you.
Solved! Go to Solution.