Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
-INSERT "path to \LINK_VIEW_SCAL.dxf" 0,0 1 0
PSELECT L
BURST
-VPORTS L OFF ALL
MSPACE
ANNOALLVISIBLE 1
ZOOM E
PSPACE
here is the lsp counter part
(defun c:InsertLinkViewScale (/ old-cmdecho old-osmode)
(command-s "-INSERT" "C:\\Test Environment\\LSP Scripts Dillion\\Converted To Lsp\\Custom_Lisp_ToolBars\\LINK_VIEW_SCAL.dxf" "0,0" "1" "1" "0")
(command-s "PSELECT" "L" "")
(command-s "BURST" "")
(command-s "-VPORTS" "L" "OFF" "ALL")
(command-s "MSPACE")
(command-s "ANNOALLVISIBLE" "1")
(command-s "ZOOM" "E")
(command-s "PSPACE")
(princ)
)
but this .lsp doesn't work gets an error on burst and also gets the
Command: (if (not c:CUI_LISP_CUSTOM) (load (findfile "QuickAccess_Tools.lsp")))
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.
Command: (c:InsertLinkViewScale)
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended
Solved! Go to Solution.