Started by hicoffee ·
2008-02-16 01:14 UTC ·
2 replies · SMF topic #184
hicoffee
2008-02-16 01:14 UTC
After a dockable form be loaded, "SEVAR" will be refuse, "integer" no problem but "string" don't.
-----------
(SETVAR "DIMSCALE" 1) ------->ok
(SETVAR "DIMLDRBLK" "DOTSMALL") ------->error
owenwengerd
2008-02-16 04:01 UTC
This is probably caused by an error in one of the form's event handlers. You could try disabling all the event handlers, then add them back one at a time to pinpoint the one causing the problem.
fred_tomke
2008-02-17 08:26 UTC
Hello
Many years ago we've found out that (setvar "CLAYER" strLayerName) will be refused in several cases, also when no OpenDCL (or ObjectDCL at that time) was used.
We had much mor luck using ActiveX:
(vla-setvariable oDocument "CLAYER" strLayerName)
HTH,
Fred