|
Command Line automation to turn on/off the visibility of Object Text. This function allow users to automate the visibility of text from lisp; the function is called SETTEXT and can be called from the command line or from lisp as follows.
Procedure
(SetText sset Flag which)
sset is the selection set of objects to process.
Flag is a bitwise number that indicates the text to work on, i.e.:
1 = Item Number
2 = Size
4 = Elevation Text
8 = Alias Text
16 = Set Information
32 = Length Dimension
which is a string value either "On" or "Off"
Example:
to create the selection set in lisp (setq sset (ssget))
to turn the Item numbers ON for a selection set "sset" you would use (settext sset 1 "On")
to turn the Numbers and the Alias ON you would use (settext sset 9 "On")
to turn the Numbers, Alias and Size ON you would use (settext sset 11 "On")
to turn ALL the text OFF you would use (settext sset 63 "Off")
Command Line Examples:
(settext(ssget)63"off") - will turn all the labels OFF
(settext(ssget)3"off") - will turn Item No. & Size OFF
(settext(ssget)17"on") - will turn Set Information & Item No. ON