CadDesigner
Programmer
Hi folks,
I am trying to make a 3D-program in VB6 for AutoCAD and now I encounter the following problem.
Because VB works parallel with Autocad, I can change any moment to basic AutoCAD, leaving my program in the taskbar.
In fact 2 separate tasks.
When I start with my program, doings things, and decided to go to Basic AutoCAD, change the UCS in Autocad, do things and go back to my program in VB and want to change the UCS there, sometimes, not always, my program stalls.
The program line which gives the error is to save the current UCS setting:
Set CurrentUCS = acaddoc.activeUCS.
Change UCS here..
The error message is as follows:
Runtime error '2145320870(8021005a)
Error adding object to symbol table.
It seems that my program can't save the current UCS because it expects something else?
Same errors found with version 2000 and 2000I
Can anybody tell me what I am doing wrong?/ experienced the same problem / is there a workaround for it?
Need Help!
Paul
I am trying to make a 3D-program in VB6 for AutoCAD and now I encounter the following problem.
Because VB works parallel with Autocad, I can change any moment to basic AutoCAD, leaving my program in the taskbar.
In fact 2 separate tasks.
When I start with my program, doings things, and decided to go to Basic AutoCAD, change the UCS in Autocad, do things and go back to my program in VB and want to change the UCS there, sometimes, not always, my program stalls.
The program line which gives the error is to save the current UCS setting:
Set CurrentUCS = acaddoc.activeUCS.
Change UCS here..
The error message is as follows:
Runtime error '2145320870(8021005a)
Error adding object to symbol table.
It seems that my program can't save the current UCS because it expects something else?
Same errors found with version 2000 and 2000I
Can anybody tell me what I am doing wrong?/ experienced the same problem / is there a workaround for it?
Need Help!
Paul