+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Senior Member ILoveMadoka's Avatar
    Using
    AutoCAD 2012
    Join Date
    Oct 2008
    Posts
    213

    Default Explode a SS? I don't understand why not!!!

    Registered forum members do not see this ad.

    Is it possible to explode a selection set assigned to a variable?
    I'm debugging a routine and am having a problem with this code.
    If I create a selection set with several MTEXT entities
    it only explodes the last one the way it's written here.
    I must really misunderstand how the explode command works.
    It asks for a selection set but I cannot return it as a variable!
    Once upon a time (ie:version) was the Explode command one of the
    commands that returned "Select Object:" vs "Select Objects:" ???

    This is only a subroutine I've pulled out of a larger proggie I'm working on.. I feel stupid that I can't figure this one out. Help Please!!

    (defun c:XM4 ( )
    (setq t (ssget))
    (setq mtss (ssget "P" '((0 . "MTEXT"))))
    (if mtss
    (progn
    (command "explode" mtss "")
    )
    )
    (princ))

    Thank you to all the code masters who inspire us posers!
    (^_^)
    Last edited by ILoveMadoka; 19th May 2009 at 08:27 pm. Reason: Syntax error

  2. #2
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Registered forum members do not see this ad.

    try putting
    Code:
    (setvar "qaflags" 1)
    after the (defun c:... line

Similar Threads

  1. I don't understand Regions
    By Proctor in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 3rd Mar 2009, 11:59 pm
  2. I dont understand why people import from SU to CAD?
    By cvriv.charles in forum SketchUp
    Replies: 20
    Last Post: 25th Feb 2009, 02:47 am
  3. How to understand ASCI files?
    By Hmm.. in forum AutoCAD 3D Modelling & Rendering
    Replies: 10
    Last Post: 14th Oct 2008, 10:26 pm
  4. understand autocad
    By Wantingajob in forum AutoCAD General
    Replies: 3
    Last Post: 11th Nov 2007, 05:05 pm
  5. How do I understand Polylines are joined precisely?
    By alijahed in forum AutoCAD General
    Replies: 4
    Last Post: 26th Apr 2007, 11:15 pm

Bookmarks

Posting Permissions

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