Results 1 to 2 of 2

Thread: Explode Mtext to Text

  1. #1
    100 Club
    Join Date
    2007-07
    Posts
    104
    Login to Give a bone
    0

    Default Explode Mtext to Text

    You can explode mtext to text in vba by running script, using the following code:
    Code:
            ThisDrawing.SetVariable "FileDia", 0
    
            '  ThisDrawing.SendCommand "script" & vbCr & "H:\Scripts\" & name & vbCr
            ThisDrawing.SendCommand "explode" & vbCr
            ThisDrawing.SendCommand "all" & " " & vbCr
    
            ThisDrawing.SetVariable "FileDia", 1
    Is there a fancier way of doing this (preferably without a script) ?
    Last edited by darfnuggi; 2009-01-30 at 10:03 AM. Reason: Found answer to my own question, and showed it here.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,409
    Login to Give a bone
    0

    Default Re: Explode Mtext to Text

    "Exploding" is more a matter of converting at the programming level. For complex objects that don't have an explode method, just copy their primitives to new objects and erase the old one.

    Another method is to run lisp from vba in order to run a command. Search this forum for vlax.cls.
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Explode Text??
    By ty_demo15 in forum AutoCAD LT - General
    Replies: 3
    Last Post: 2008-03-12, 02:07 PM
  2. Can't Explode MTEXT
    By ArchTechnology in forum AutoCAD General
    Replies: 6
    Last Post: 2008-03-11, 03:26 PM
  3. Explode MTEXT
    By danderson.71652 in forum VBA/COM Interop
    Replies: 3
    Last Post: 2005-06-03, 09:23 PM
  4. Explode all mtext
    By robert.1.hall72202 in forum AutoLISP
    Replies: 7
    Last Post: 2005-04-07, 07:35 PM
  5. Any way to globally select Mtext and explode it?
    By drafterjohn in forum AutoLISP
    Replies: 10
    Last Post: 2005-03-14, 06:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •