Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/25/2019 in all areas

  1. @dlanorh You might as well include an if statement for the entsel otherwise entget will STB.
    2 points
  2. If you want to move points or text simply change the filter: (setq ss (ssget '((0 . "POINT,TEXT")))) I tested @dlanorh code above and it works fine?
    1 point
  3. I have a good quantity of Pipe programs and here are three of them that may suit your needs and you can find more when exploring the website. 1- Water Supply Program. 2- Fire Fighting Program. 3- Fire Fighting Grooved and Threaded Program.
    1 point
  4. Try this (defun c:mper ( / ent ss cnt e_lst i_pt c_pt) (setq ent (car (entsel "\nSelect Line Entity : "))) (cond ( (vl-position (cdr (assoc 0 (entget ent))) '("LWPOLYLINE" "ARC" "LINE" "CIRCLE" "ELLIPSE" "SPLINE")) (prompt "\nSelect Points : ") (setq ss (ssget '((0 . "POINT")))) (repeat (setq cnt (sslength ss)) (setq i_pt (cdr (assoc 10 (setq e_lst (entget (ssname ss (setq cnt (1- cnt))))))) c_pt (vlax-curve-getclosestpointto ent i_pt) ) (entmod (subst (cons 10 c_pt) (assoc 10 e_lst) e_lst)) );end_repeat ) ( (alert "Not a Line Entity")) );end_cond (princ) );end_defun
    1 point
  5. Unfortunately "qlattachset" is obsolete, and although you can still type the command as it is in the "leaderex.arx" file, it does nothing. I should have something working by tomorrow afternoon that will associate the mtext with the leader, and then convert the Leader to a Mleader.
    1 point
  6. I also have this. Found it somewhere a while back. Appears to be you're looking for. Pipe V3.0.lsp
    1 point
  7. You can create a keyboard shortcut for the macro.
    1 point
×
×
  • Create New...