dll runs in acad.exe but fails in accoreconsole.exe

dll runs in acad.exe but fails in accoreconsole.exe

Anonymous
Not applicable
470 Views
1 Reply
Message 1 of 2

dll runs in acad.exe but fails in accoreconsole.exe

Anonymous
Not applicable

I have C# code, using .net, which basically reads in a CSV file and parses out data to colorize objects, and reads in a second CSV file that adds a point cloud to the dwg. The dll runs in acad.exe, finishes in about 3 minutes.

 

The same dll will start running in accoreconsole.exe, but runs forever, i.e. I have let the program run for an hour before manually ending process. During process, task manager shows autocad using 35% of memory, as if it is processing, and it stays around 35% during process.

 

Computer Specs:

Windows 10,

16 GB ram

Autocad 2016

 

Also, I have completed other dll's that have worked seamlessly, and always processed faster than acad.exe, as expected.

 

Any thoughts as to where to debug this workflow?

 

Thanks,

Daniel

0 Likes
471 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Update: The process works in accoreconsole.exe if I read in a smaller point cloud.

-Is there a maximum number of points that can be read into accoreconsole.exe?

-Why would acad.exe allow a larger point cloud than accoreconsole.exe?

-Is there any way to increase the number of points that can be read into accoreconsole.exe?

Thanks for reading this,
Daniel
0 Likes