Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/14/2020 in all areas

  1. en variable is emtpy , and user still went ahead and select the block, that is why (sslength en) will produce that error You can remove "X" to enable the user to select on sceen Make sure the selection is under the same layer listed as the filter (setq en (ssget "X" ;<-- this for selection mode (list (cons 0 "ARC,CIRCLE,ELLIPSE,LINE,LWPOLYLINE,POLYLINE,SPLINE") (cons 8 "A-WALL-INTR") ; <--- that layer name )) ) BTW: the lisp code is not that exciting at all
    1 point
  2. This lisp has been "found" before. See Here
    1 point
  3. I updated code in my post, but the average defun is way better for points was trying to do the same using mapcar etc. Will save it for future reference. There is a typo (c:clpoints) should be (c:plpoints) runs straighaway if you use appload, drag drop or a menu load.
    1 point
  4. type in insert without the '-' and check if explode option is on. If so , toggle it off , insert any block and delete it and then try your routine again
    1 point
×
×
  • Create New...