Message 1 of 21
How to read current Initget bits value and Keywords string?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
Does anyone know if it's possible to read the current (initget ...) BITS value and KEYWORDS string via AutoLISP or Visual Lisp?
If you're asking "Why?", it's because it would be useful in creating your own (getxxx ...) function while utilizing an existing (getxxx ...) function inside of a while loop to account for invalid inputs (as current getxxx functions do).
So, for example, if I set initget somewhere in my code...
(initget 6 "Some Keywords")
... then I could read these values somehow..
Command: (setq bits (getvar '??????))
6
Command: (setq keywords (getvar '??????))
"Some Keywords"
Any help is appreciated.
Best,
~DD