Author Topic: Using TXTEXP to explode text on different layers  (Read 2300 times)

0 Members and 1 Guest are viewing this topic.

jlatimer11

  • Mosquito
  • Posts: 13
Using TXTEXP to explode text on different layers
« on: April 26, 2011, 03:55:52 PM »
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?

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Using TXTEXP to explode text on different layers
« Reply #1 on: April 26, 2011, 05:08:46 PM »
Sorry for being so vague so if you need more help please reply back and someone smarter will help.

Do a search here for MText.ExplodeFragments