I've got a small problem I'm hoping someone can help me with.
We engrave parts on a CNC machine, and the CAM software doesn't play nice with AutoCAD text (widens it, changes size, etc). In VBA I made a separate '-CAM.dwg' file where I would cycle through all text on the drawing and explode it using Express Tools. When the text is exploded, it comes into the CAM software correctly.
Now that I'm porting over the code to vb.NET, I'm finding that SendCommand and StringToExecute will not work correctly as they are not synchronous. I need to cycle through all the layers that have text and make that layer current so the exploded text is on that specific layer (different parts with different engravings on different layers basically).
I've tried using CommandLine.Command from caddzone, but it does not work with txtexp (unknown command), so I'm lost for a solution.
Any ideas?