That is a great .lsp code. Is there a way to convert the ellipse to arc without making a complete circle?
[Shaun may not still be around after 8 years, but...]
If you are on this thread because you also have the problem of some other software not being able to read Ellipses, but if it can read Splines, try this reverse-direction routine [ReverseDirection.lsp with its RD command]. In reversing the direction of an Ellipse [whether a full closed one or a partial one (elliptical arc)], it changes it into a Spline. [If the direction it runs needs to remain the same as the original Ellipse's, you can reverse it again, and it will remain a Spline rather than reverting to an Ellipse.]
This has at least one advantage over drawing an Ellipse as a Polyline with the PELLIPSE System Variable set to 1: precision of the shape of the curve. An Ellipse drawing with PELLIPSE=1 is rather approximate. If you use RD instead, and "dumb down" and give it a precision value of only 16, it will have the same number of defining points as a PELLIPSE=1 Polyline version, but will already be closer to the shape of the true ellipse. If you keep it simpler and accept its default precision of 24, it will be considerably more precise than that, and you can give it a much higher precision if you want it unbelievably precise.
But if you have something that can't read Splines either, I think the routine that re-draws it after changing the PELLIPSE System Variable should be adjustable to account for partial Ellipses using the Arc option.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register