dreamer Posted September 2, 2009 Share Posted September 2, 2009 Hi Can I convert a section of an ellipse outline to polyline so that I can see it's length from Properties? And why Properties does not show the length of a spline? Thanks. Quote Link to comment Share on other sites More sharing options...
Secretagdan Posted September 2, 2009 Share Posted September 2, 2009 It seems that you don't need to convert it to pull any information off of it, though there is a command that allows you to turn an ellipse into arc segments. The command is PELLIPSE, default is 0, and 1 sets to polyline segments. If you change the PELLIPSE to 1, you can see the circumference or length from the properties dialogue box. You can also us use the LI (short for LIST) to display the properties of the ellipse. It will include the length, if its a section or circumference if its closed. Here is an example of an ellipse listed. Its XY is 12" x 6": ELLIPSE Layer: "0" Space: Model space Handle = 89cc Area: 56.55 sq in (0.39 sq ft) Circumference: 2'-5 1/16" Center: X = -0'-0", Y = -0'-0", Z = 0'-0" Major Axis: X = 0'-6" , Y = 0'-0" , Z = 0'-0" Minor Axis: X = 0'-0" , Y = 0'-3" , Z = 0'-0" Radius Ratio: 0.50000 Quote Link to comment Share on other sites More sharing options...
dreamer Posted September 3, 2009 Author Share Posted September 3, 2009 Hi Secretagdam Thank you for your information Quote Link to comment Share on other sites More sharing options...
ronjonp Posted September 3, 2009 Share Posted September 3, 2009 You could use vlax-curve-getendparam like so to get the length: (defun c:getlen (/ e rjp-getlength) (defun rjp-getlength (ent / ep) (if (vl-catch-all-error-p (setq ep (vl-catch-all-apply 'vlax-curve-getendparam (list ent))) ) 0 (vlax-curve-getdistatparam ent ep) ) ) (if (setq e (car (entsel "\nSelect object to measure: "))) (alert (rtos (rjp-getlength e))) ) (princ) ) Quote Link to comment Share on other sites More sharing options...
turboCAD Posted April 4, 2013 Share Posted April 4, 2013 Thank you very much, super-secret Secretagdan ! I was searching for the same answer as Dreamer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.