PDA

View Full Version : mpedit troubles .....



stl12050
2004-08-18, 06:57 PM
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 !!

mjfarrell
2004-08-18, 07:07 PM
This is all I know about it:
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2884930&linkID=2475323

Mike.Perry
2004-08-19, 06:47 AM
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) -


(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