Tim,
Not related to this routine in particular, but rather a general note.....this line:
(initget "Wall Thickness TH L Layer")
is identical to this line:
(initget "Wall Thickness Layer")
The reason being, if the user enters anypart that starts with the capitalized letter of the keyword then the entire keyword is returned....witnesseth:
(repeat 10
(initget "Wall Thickness Layer")
(setq temp (getkword "\nWall Thickness Layer :"))
(princ (strcat " ..... You entered \"" temp "\""))
)
Wall Thickness Layer :w
..... You entered "Wall"
Wall Thickness Layer :Wa
..... You entered "Wall"
Wall Thickness Layer :L
..... You entered "Layer"
Wall Thickness Layer :l
..... You entered "Layer"
Wall Thickness Layer :Laye
..... You entered "Layer"
Wall Thickness Layer :t
..... You entered "Thickness"
Wall Thickness Layer :T
..... You entered "Thickness"
Wall Thickness Layer :TH
..... You entered "Thickness"
Wall Thickness Layer :thic
..... You entered "Thickness"
Wall Thickness Layer :w
..... You entered "Wall"
[/list:u]