Results 1 to 3 of 3

Thread: mpedit troubles .....

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2001-04
    Posts
    1
    Login to Give a bone
    0

    Unhappy mpedit troubles .....

    Everytime I use MPEDIT, all my OSNAPs get cleared and I have to set them again, but if I do an PEDIT then MULTIPLE I don't get this problem.

    I'm running 2002.

    Thanks !!

  2. #2
    AUGI Addict
    Join Date
    2015-12
    Location
    Arizona
    Posts
    2,478
    Login to Give a bone
    0

    Default Re: mpedit troubles .....


  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: mpedit troubles .....

    Hi

    Give the below a try, is from a pre WittyWorm Forum post that I made when this question was asked before (offers a simple solution to get round the problem) -

    Code:
    (defun c:PEM (/ SSet)
      (setq SSet (ssget "_I"))
      (if (= SSet nil)
    	(progn
    	  (command "._Pedit" "_M")
    	  (while (> (getvar "CMDACTIVE") 0)
    			 (command pause)
    	  )
    	)
    	(progn
    	  (command "._PEdit" "_M" SSet "")
    	  (while (> (getvar "CMDACTIVE") 0)
    			 (command pause)
    	  )
    	)
      )
      (princ)
    )
    Have a good one, Mike

Similar Threads

  1. 2012: Polyline editing: PEDITACCEPT = 1, the PEDIT command VS. the MPEDIT command
    By Boozbaz154610 in forum AutoCAD General
    Replies: 2
    Last Post: 2013-01-29, 01:20 PM
  2. .COM troubles
    By rhutchi1 in forum VBA/COM Interop
    Replies: 11
    Last Post: 2012-09-19, 02:39 PM
  3. Puzzled by mpedit?
    By ddempsie in forum AutoCAD General
    Replies: 2
    Last Post: 2007-11-12, 01:31 PM
  4. Elevation troubles
    By h.jobe in forum ACA General
    Replies: 1
    Last Post: 2006-08-25, 05:35 PM
  5. Macro using MPedit clears all OSnap settings
    By jonathan_fairholm in forum AutoCAD Customization
    Replies: 2
    Last Post: 2005-01-28, 01:52 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
  •