I get an error if I:
1. Open ED
2. Click on "Open"
An error is displayed:
1 Compile error: "folderdir" is not a valid expression. Reference: do(KernelFnc([before close dialog]),if(<>(v,2),do(var([strFile],vbString),set(t,makefilename(getfileopen(moddir([*.mod]),[model files (*.mod)|*.mod|All files (*.*)|*.*]),[.mod])),strFile:=t,folderdir:=extractdir(t),if(not(fileexists(t)),if(>(stringlength(t),0),msg([File does not exist],2)),do(DisplayLayers(0),KernelFnc([destroy and recreate model atom]),KernelFnc([display model tree]),t:=strFile,if(v<>2,KernelFnc([load model])))),If(SubstrCount(moddir,workdir([\Models\Examples\English])),Do(t:=ExtractPreName(TextAtt(1,Model)),Help(Concat([Example Model ],t))))))) (KernelFnc)
Any idea?
Kernel error when opening a new model
-
- Posts: 5
- Joined: Thursday 27 September, 2012 - 18:30
- Location: Via Marconi, 23 42030 Viano, RE Italy
- Contact:
- MatthijsJongboer
- Posts: 194
- Joined: Thursday 11 November, 2010 - 14:12
Re: Kernel error when opening a new model
Hello Roberto,
I checked the kernel.fnc in the program root directory but cannot locate any 4DScript "folderdir".
I expect your kernel.fnc to be customized to include some sort of folderdir?
I checked the kernel.fnc in the program root directory but cannot locate any 4DScript "folderdir".
I expect your kernel.fnc to be customized to include some sort of folderdir?
-
- Posts: 6
- Joined: Thursday 29 November, 2012 - 14:21
Re: Kernel error when opening a new model
Dear Roberto, good morning
unfortunately this error is caused by a customised code written by LAC in your personal ED application. It is not due by a INCONTROL's bug.
We wll do our best in order to solve your problem as soon as possible.
Thanks
Best Regards
Andrea Ferrara
unfortunately this error is caused by a customised code written by LAC in your personal ED application. It is not due by a INCONTROL's bug.
We wll do our best in order to solve your problem as soon as possible.
Thanks
Best Regards
Andrea Ferrara