CAB,
I must admit that I am a bit lost as to what exactly your program does.
A conditional ATTRIB edit to me would be editing only certain ATTRIBs on selected or filtered INSERTs?
-David
This is passed to the routine
(("DWIDTH" "3'-0\"")) as New_Txt
This line matched that and attr is not nil
(setq attr (cadr (assoc (op_dxf 2 entl) new_txt)))
so the edit attribute is skipped and flow falls directly to the entmod
This way the user doesn't have access to change the door width but is prompted
to change everything else.
This line
(menucmd (strcat "S=" (substr prmpt 2 8)))
would activate a menu of choices so the user can pick or enter the matching data.
This is the actual prompt string: [AUD01MAS]Enter Door Width
It's actually pretty neat that you can pick from the Screen Menu instead of entering
from the command line. But 17 prompts for each door is a bit much.