Community
Can the X commands not be handles in LISP like regular commands? I want to use "xctext"
Works
;CTEXT TEXT (defun c:abc () (CTEXT "Notes") ) ;-defun
Does not Work...
;CTEXT TEXT (defun c:abc () (XCTEXT "Notes") ) ;-defun
Neither does...
;CTEXT TEXT (defun c:abc () (command "XCTEXT" "Notes") ) ;-defun
Is there a different way to handle this in LISP?
David,
The X commands can be called from lisp.
But keep in mind the X commands are to extract text from an xref into paper space, they are not to turn on text that isn't there.
I think there are two problems here.
First is, you are trying to supply an argument that it cannot except: "Notes".
Second is, I found that XCTEXT only seems to work if the ctext has been applied to an object in the drawing already. (the report has to be defined in the drawing).
This works:
(defun c:abc () (command "XCTEXT") )