Message 1 of 5
Spline --> Method --> 1. Fit, 2. CV

Not applicable
01-20-2015
08:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
1. Spline --> Method --> Fit
2. Spline --> Method --> CV
na foums.autodesk.com
Hello,
from a long time I try to write the lisps:
1. "Draw Spline with Method: Fit."
and
2. Draw Spline with metod "CV."
So I wrote these lisps:
(DEFUN C:S () (COMMAND "_SPLINE")) ; Spline VeRtex (DEFUN C:SVR (/)(setvar "cmdecho" 0) (princ "\nDraw Spline Fitted to Vertices." ) (command "_SPLINE" "_M" "_Fit")) (DEFUN C:SSEG (/)(setvar "cmdecho" 0) (princ "\nDraw Spline Tangemt to Poliline Segments." ) (command "_SPLINE" "_M" "_CV")) (DEFUN C:SSEG1 (command "_SPLINE" "_M" "_FIT"))
, but they don't work properly.
In the CommandLine, there is:
Command: svr
Rysuje Spline DO WIERZCHOŁKÓW
Point or option keyword required.
; error: Function cancelled
Could anybody tell me, what is wrong and how should this lisp be written?