Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autocad 05 and up. Measuring

Status
Not open for further replies.

megaone

Industrial
Jun 23, 2006
1
is there anyway, to get a measurement on a drawing that has two parrellel lines with a fillet between them. Currently, I am just using inguiry - measure for the lines, and then arc length for the fillets, then I have to add them all together. Is there a one shot measuring tool.
 
Replies continue below

Recommended for you

If they are connected end to end, you can convert them to a PLINE with the command PEDIT and then list it. Not a perfect solution but it works without programming.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Keep searching, I know there is a LISP routine available that allows you to select multiple objects and get their combined length.

If you can't find one, it wouldn't be difficult to make one. Post back if you would like some help creating a LISP to do this.
 
Code:
(defun c:gl (/ as elemli plangli z)
  (setq as (ssget (list
    '(-4 . "<or")
    '(0 . "POLYLINE")
    '(0 . "LWPOLYLINE")
    '(0 . "LINE")
    '(0 . "ARC")
    '(0 . "CIRCLE")
    '(0 . "SPLINE")
    '(-4 . "or>")
  )
  )
  )
  (setvar "CMDECHO" 0)
  (if as
    (setq elemli (bau_elemli as)
  z 0
    )
  )
  (if elemli
    (progn
      (setq plangli
    (mapcar
      '(lambda (plli)
  (command "_.LENGTHEN" plli "")
  (getvar "PERIMETER")
  );lambda
      elemli
      );mapcar
    )
      (terpri)
      (princ "Gesamt:\t")
      (princ (apply '+ plangli))
      (princ)
    );progn
  );if
)
(defun bau_elemli (asatz / n elemli)
  (setq n 0)
  (repeat (sslength asatz)
    (setq elemli (cons (ssname asatz n) elemli)
  n (1+ n)
    )
  )
  elemli
)

...not my code...

L.


ADT 2004
ACAD 2002
 
Search this site. The question has been answered several times within recent memory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor