Hi,
Sorry I misunderstood your reply.
The error message 'File Not Found' is displayed.
Note: the file does exist and is in a folder in the search/support path.
I will copy the file to additional folders in the search paths to check.
S.
Re: Radio Button Cluster Tile
#17just to confirm:
S.
I have copied the dim files to a number of locations (6) in the search paths and the file is still reported as not found.I will copy the file to additional folders in the search paths to check.
S.
Re: Radio Button Cluster Tile
#18Display file_name to sure it's the correct name.
Code: Select all
(defun OPEN_DIM_FILE ()
(PRINC FNAME)
...
) ;end OPEN_DIM_FILE
Re: Radio Button Cluster Tile
#19With your help I have found the problem.
It was my error!
In all of the locations (sample):
I should have entered:
Just the small '_' caused ALL of my searching.
Hence the file was not found.
S.
It was my error!
In all of the locations (sample):
Code: Select all
(setq sch "sch_10")
Code: Select all
(setq sch "sch_10_")
Hence the file was not found.
S.
Re: Radio Button Cluster Tile
#20The basic functionality is now there and working.
However I am now looking to refine some areas.
When the user selects radio button RB31 I want to only turn on the next level or radio buttons (L5_ON)
if the local variable flg is set to wn_
Here is where flg is set to wn_.
And here is the original code for RB_31.
This is what I have tried, but it does not work!
.
Having selected RB11 (Weldneck Flanges)
When I select RB31 none of the radio buttons in L5 turn on??
Any hints at where I'm going wrong?
S.
However I am now looking to refine some areas.
When the user selects radio button RB31 I want to only turn on the next level or radio buttons (L5_ON)
if the local variable flg is set to wn_
Here is where flg is set to wn_
Code: Select all
(defun RB11_FLAG ()
(setq flg "wn_") ;store flange type
);end rb11_flag
And here is the original code for RB_31
Code: Select all
(action_tile "rb31" ;toggle #150 option
"(L5_ON)(RB31_FLAG)" ;"(SET_WLRE90_IMAGE)"
); END ACTION TILE
This is what I have tried, but it does not work!
Code: Select all
(action_tile "rb31" ;toggle #150 option
(if
(= flg wn_) ;if variable weldneck flange selected do this
(progn
(L5_ON)
(RB31_FLAG)
);end progn
;---------------------------; ;otherwise if ANY of bl/so/scr/sl are set do this
(progn
(setq newtile $key)
(RB31_FLAG)
(F_NAME)
(READ_DIM_FILE)
)
) ;_ end of if
); END ACTION TILE
Having selected RB11 (Weldneck Flanges)
When I select RB31 none of the radio buttons in L5 turn on??
Any hints at where I'm going wrong?
S.
Re: Radio Button Cluster Tile
#21Now resolved:
.
S.
Code: Select all
(action_tile "rb31" ;toggle #150 option
"(if
(= flg \"wn_\") ;if variable weldneck flange selected do this
(progn
(L5_ON)
(RB31_FLAG)
);end progn
;---------------------------; ;otherwise if ANY of bl/so/scr/sl are set do this
(progn
(setq newtile $key)
(RB31_FLAG)
(F_NAME)
(READ_DIM_FILE)
)
)" ;_ end of if
); END ACTION TILE
S.