2012-02-18 13:59 UTC
Hi
I use a dll assembly that provides a new Lisp function {2} (it allows to write layers overrides)
The problem is that the dll retrieves a "eLockViolation" error if it's triggered by a odcl control, and only in this case.
The error occurence is not systematic, and it seems to depend on the previous user interraction with ACad interface.
For example it doesn't occurs :
- if I place (entsel) just before the function call and if I select an object (my problem is that I don't want to ..)
- if I place (vla-regen doc acActiveViewport) before (same)
(dcl_SetCmdBarFocus) doesn't prevent this error
Any idea ?
I use a dll assembly that provides a new Lisp function {2} (it allows to write layers overrides)
The problem is that the dll retrieves a "eLockViolation" error if it's triggered by a odcl control, and only in this case.
The error occurence is not systematic, and it seems to depend on the previous user interraction with ACad interface.
For example it doesn't occurs :
- if I place (entsel) just before the function call and if I select an object (my problem is that I don't want to ..)
- if I place (vla-regen doc acActiveViewport) before (same)
(dcl_SetCmdBarFocus) doesn't prevent this error
Any idea ?