Home > Net >  Question: how to solve the problem of repeated calls to AutoCAD to abnormal
Question: how to solve the problem of repeated calls to AutoCAD to abnormal

Time:03-15

I am a mechanical engineer, programming level only in loop water, before the use of excel vba to use well,
Now, in c # in a thorny problem, as follows:
Open cad software doesn't run the program, but also good,
But again after a debugging and commissioning will throw an exception,
Only in the task manager can after locked cad thoroughly clean,

Is there any way to solve the problem, is to make c # and has been running program to establish connections)?
To achieve the following effects: if cad software is not open, then according to the appended drawings of the code execution, through the anomaly in the appended drawings of this statement, and perform the follow-up operation,
If cad already open, let c # drawing in the already open cad software directly (through a set of code for cadapp to take over already open cad),

  •  Tags:  
  • C#
  • Related