Are there utilities similar to chtext.lsp and filter.lsp for
Posted: Sat Nov 10, 2001 6:52 pm
by cwp
Are there utilities similar to chtext.lsp and filter.lsp for Intellicad?
Posted: Sun Nov 11, 2001 5:52 pm
by tooldesigner
What does those 2 lsp files do ? It would be easier to find what the lsp does rather than a name that anyone can change.
Posted: Tue Nov 13, 2001 1:10 am
by cwp
;;; DESCRIPTION
;;; This is a "text processor" which operates in a global manner
;;; on all of the text entities that the user selects; i.e., the
;;; Height, Justification, Location, Rotation, Style, Text, and
;;; Width can all be changed globally or individually, and the
;;; range of values for a given parameter can be listed.
;;;
;;; The command is called with CHT from the command line at which
;;; time the user is asked to select the objects to change.
;;;
;;; Select text to change.
;;; Select objects:
;;;
;;; If nothing is selected the message "ERROR: Nothing selected."
;;; is displayed and the command is terminated. If more than 25
;;; entities are selected the following message is displayed while
;;; the text entities are sorted out from the non-text entities.
;;; A count of the text entities found is then displayed.
;;;
;;; Verifying the selected entities...
;;; nnn text entities found.
;;; CHText: Height/Justification/Location/Rotation/Style/Text/Undo/Width:
;;;
;;; A typical example of the prompts you may encounter follows:
;;;
;;; If you select a single text entity to change and ask to change
;;; the height, the prompt looks like this:
;;;
;;; CHText: Height/Justification/Location/Rotation/Style/Text/Undo/Width:
;;; New text height for text entity. <0.08750000>:
;;;
;;; If you select more than one text entity to change and ask to change
;;; the height, the prompt looks like this:
;;;
;;; CHText: Height/Justification/Location/Rotation/Style/Text/Undo/Width:
;;; Individual/List/<New height for all entities>:
;;;
;;; Typing "L" at this prompt returns a prompt showing you the range of
;;; values that you are using for your text.
;;;
;;; Height -- Min: 0.05000000 Max: 0.10000000 Ave: 0.08392857
;;;
;;; Typing "I" at this prompt puts you in a loop, processing the text
;;; entities you have selected one at a time, and giving the same prompt
;;; you get for a single text entity shown above.
;;;
;;; Pressing ENTER at this point puts you back at the Command: prompt.
;;; Selecting any of the other options allows you to change the text
;;; entities selected.
;;;
Posted: Tue Nov 13, 2001 11:13 pm
by R.J.Saarikko
I have successfully used a 1990 version of CHTEXT.LSP by Yoder
but recall a newer file of the same name that did not work.
I believe most Lisp programs written for Acad12-13 will function
verbatim, or with very few modifications,(except those dealing
with SOLIDS). Acad14-2k+ Lisp files present a greater likelihood
of incompatibility.
There are a lot of free Lisp libraries available on the WEB.
Download some and try 'em.