Skip to content

initget

(initget [bits] [keywords])

Sets up the next get… function, entsel or ssget. Bits that can be added: 1 disallows Enter, 2 disallows zero, 4 disallows negatives, 128 accepts any text (returned as a string). Keywords are separated by spaces; their capitals are the abbreviation. After _ the global names can be given.

(initget 1 "Yes No")
(getkword "\nContinue? [Yes/No]: ")

Differences with AutoCAD

Bits 8, 16, 32 and 64 do nothing.

Download LinceCAD Manual contents