Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/31/2024 in all areas

  1. For reference, the syntax for the edtime DIESEL function may be found here - https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-F94A885A-4DA2-432B-AC1A-EB49CC6C1C72
    1 point
  2. Thank you @pkenewell for testing its odd that it works fine in Bricscad, I will update my saved version. thanks again.
    1 point
  3. You'll need to load the LISP LM:str->lst - it is one of Lee Macs, from his website String to List
    1 point
  4. "it depends on which "direction" the polylines are drawn" the code above is almost there, what I use and have done so for like 30+ years, is pick an object end, this returns 3 points the pick point, start & end you compare the distance of pt->end pt->start and can then work out if need to reverse the line or pline, NOTE Bricscad does not have Reverse, have not checked V25. Reverse "This is not a BricsCAD command. Have you tried PEDIT with the suboption Reverse direction?" An example this would be a line answer. (setq ent (entsel "\nPIck object near end Enter to exit ")) (setq pt (cadr ent)) (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car ent))))) (setq obj2 (vlax-ename->vla-object (car ent))) (setq start (vlax-curve-getstartPoint obj2)) (setq end (vlax-curve-getendPoint obj2)) (setq d1 (distance pt start)) (setq d2 (distance pt end)) (if (> d1 d2) (setq tmp start start end end tmp )
    1 point
×
×
  • Create New...