Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/23/2024 in all areas

  1. You don't need to paste the code for multi radio buttons into your code but you do need to pre load the Multi radio buttons.lsp. (if (not AH:Butts)(load "Multi Radio buttons.lsp")) make sure you have multi radio buttons saved in a support path or change the (load ... to include the full path of where multi radio buttons is saved, the same with CABS program you can use the same (if (not break_with)(load "Breakall")) so dont need program inside your code. I would do these 2 load checks at very start of code.
    1 point
  2. Yes it needs to be wrapped. change foo to what you want to type to pop up the menu asking type of break. ;(defun C:foo () ; ??? is this line needed? error: incorrectly formed list at the entrance You also need the AH:Butts code as well.
    1 point
  3. There is a variable I think its LTGAPSELECTION 0 or 1 I had similar problem would miss some lines at times.
    1 point
  4. Yes is the answer as the pline has 2d points you know Y values so can work out all points including Z then send to excel. I do direct to excel others do CSV. Here is pline points as a start. (setq plent (entsel "\nPick rectang")) (if plent (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent)))))) (princ co-ord) On holidays so limited time may be later or some one else will jump in. Excel defuns you can use to open Excel and put cell values. Alan Excel library.lsp
    1 point
  5. The option BreakWith does what de OP asked for.
    1 point
  6. CABS Breakall.lsp is close but will break the green lines as well if that is ok. breakall.lsp
    1 point
  7. I don't like splines if that is any help (electrically biased, so a lot of single lines and schematics, nice, net parallel lines, ahhhh...) There was a LISP - PLDiet which might help out a little - convert splines to polylines using a small enough segment length and then pldiet that to join polyline segments, not sure if that would be any good?
    1 point
  8. DXFout>DXFin to older version (R12) is all that works on my AutoCAD 2000i at home. WMFout and WMFin probably works, but usually a scaling problem IIRC. You could also do a Wblock to a R12 dxf and select objects. Even SAVE and SAVEAS can do R12 DXF IIRC. Maybe a Script would work better? Maybe incorrect information on the AcDbSpline, I have never been able to explode them. I'll have to look at that when I go back to work next week. I have posted a DWGtoDXF by folder conversion and a DXFtoDWG by folder on here somewhere, but not LT friendly.
    1 point
×
×
  • Create New...