Well I’ve made good progress and have managed to get the nested box to pass the radii selection through to the main dialog/app.
I did find on the way that I needed to rename some of the functions & variables in the main app to enable me to differentiate between elbow radii.
So I can now create an elbow fitting from start to finish, well for one type, the original LRE.
.
.
Unfortunately none of the other 3 options work!!
It works to here:
.
.
So the code is recognising I have selected Short Radius Elbows from the nested box.
(top right in the ‘sizes’ window)
However when I select ‘OK’ I get the following at the command prompt:
C:SLN_PIPING
Current status for ftg is: = sre90_
Filename after unload_dialog = sre90_sch_10_.DIM
Current VERSION for the lisp file is: = 2.2.0-ICAD10
Not found drawing name <SRElbow_90_SCH_10_20-3D.dwg> in support file search path.
Now in part this is correct as there is no SRELBOW_90_SCH_10_20-3D.DWG in the search path.
But the code:
Code: Select all
(if (tblsearch "block" F:NAME)(INS_FTG)
(ELB90_SSP)
); end IF
Says if the file is not found do >(ELB90_SSP)< and it is not doing this.
more issues with 403 forbidden so not the full code below!!!!
Full Code:
see attached zip.
SteveN