Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/23/2025 in all areas

  1. @BlackBox Beat me to the Punch! @james9710 Here is my version - as simple as I can make it: (defun C:PLH (/ e el) (command "._pline") (while (= (logand (getvar "cmdactive") 1) 1) (command pause) ) (if (and (setq e (entlast)) (setq el (entget e)) (= (cdr (assoc 0 el)) "LWPOLYLINE") (= (logand (cdr (assoc 70 el)) 1) 1) ) (command "._-hatch" "_pro" "_S" "_S" e "" "") (princ "\nInvalid Polyline Created (Must be complete and Closed).") ) (princ) )
    2 points
  2. @SLW210 @HypnoS edited please test. cpy-blk-2-poly.lsp
    1 point
  3. @SLW210 please upload sample dwg , where yo did apply the lisp
    1 point
  4. '... as simple'... using logand. (chortles) Teeheehee Props though, as yours allows arcs, etc... Well done
    1 point
  5. Without using Visual LISP reactors, here's a starting point: (defun c:PLH (/ pt) (command "._pline") (while (and (not (initget 32)) (if pt (setq pt (getpoint pt)) (setq pt (getpoint)) ) ) (command pt) ) (command "_c") (command "._-hatch" "_p" "_s" "_co" "." "." "_la" "." "_s" (ssadd (entlast)) "" "" ) (princ) )
    1 point
  6. I know he uses BricsCAD and I used it for the last 5 years when I was still working in CAD. liked it a lot more the AutoCAD. there are differences but mostly for the better like double extend.
    1 point
×
×
  • Create New...