- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Does anyone know if there is an addin or Lisp routine that can display the command line output from a command in a separate window/palette.
My specific use for this would be to display a list of currently available pointcloud cropstates.
The two ways to do this at the moment are -
Select cloud > Point Cloud ribbon > Cropping drop-down > Cropstate list drop-down
Which is a painfully tedious procedure.
or
POINTCLOUDCROPSTATE > select cloud > ? > F2 to see list in the command line
I've written some simple Lisp routines that allow me to easily save/query/restore cropstates with keyboard shortcuts, but the query lisp still involves having to hit F2 to see the list in the command line, and I have to do this before using the Restore cropstate command to remind me of the names. If I have a few cropstates it'd be very helpful to have a list of them in a separate window/palette that can be glanced at before using the restore cropstate list.
;;
;; Autocad addin PCCTools (Point Cloud Crop Tools)
;; must be installed for this to work
;;
(defun c:SCS() ;; Save cropstate
(c:PCUNLOCK)
(setq NAME (getstring "Cropstate name to save as? "))
(command "POINTCLOUDCROPSTATE" pause "S" NAME pause)
(c:PCLOCK)
(princ)
)
(defun c:RCS() ;; Restore cropstate
(c:PCUNLOCK)
(setq NAME (getstring "Cropstate name to restore? "))
(command "POINTCLOUDCROPSTATE" pause "R" NAME pause)
(c:PCLOCK)
(princ)
)
(defun c:QCS() ;; Query available cropstates
(c:PCUNLOCK)
(command "POINTCLOUDCROPSTATE" pause "?")
(c:PCLOCK)
(princ)
)
Solved! Go to Solution.