I have been away from this project for a few weeks due to work, but back on it now and I have a new problem.
I have attached the lsp & dcl files.
How I was intending this part to work:
The dialogue give the user a choice of fittings or flanges, the user selects which option they want.
From their initial selection the remaining buttons are switched on/off as appropriate to leave the user with only those options that are relevant.
So selecting any flange option will turn off all of the fittings buttons and turn on the radio buttons for 'face' / 'schedule' / 'class'.
Or selecting any fitting turns the 'flange' buttons off and turns on the 'schedule' radio button.
In this way the user can not make an inappropriate selection. This appears to work as intended
These selections are concatenated to for a file name for later use.
(setq fname (strcat ftg flg fce sch clss ".dim"))
When I select any 'fitting' option/choice followed by the schedule the fitting selected does not appear when the Ok button is pressed, but the schedule does.
Can anyone see the error in my code??
Any help will be appreciated.