refuse "SETVAR"

Started by hicoffee, February 15, 2008, 05:14:29 PM

Previous topic - Next topic

hicoffee

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

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.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]