@ВeekeeCZ wrote:
@Anonymous wrote:
Hi, a tried it, it works -but it seems complicated... And there is some question on the screen -I dont want that...
....
Btw. It seem like LAST is protected symbol. But it's simple to fix, replace 'last' variable with different name - eg. ELAST.
To @Kent1Cooper Why the limitation for a LINE only? It will work with ARC as well.
I guess I don't have occasion to use the (last) AutoLisp function often enough to have remembered it at the time, so as to not use it as a variable name. Interestingly, I don't get that warning, either in Acad2016 or in ol' 2004 at the location where that's all I have [and under which I wrote that routine]. Is that a new-to-2017 feature? The routine still works fine for me, and since 'last' is a localized variable, it doesn't leave the AutoLisp function affected -- it should be a problem only if the same routine had tried to use the (last) function after using it as a variable name.
I couldn't say after several years what I had in mind at the time -- I was probably pulling elements from some other recent routine in which the more complex way of defining multiple variable names with different suffixes was justified. I think the limitation to Lines was only in contrast to Polyline corners, since Filleting them doesn't result in a new object that can be Mirrored [it could probably be done, but it's a more complicated problem]. As for Arcs, I was probably focusing on the nature of the original question, even though it was really about faces of Solids. And in regard to arc segments in Polylines, if they were part of my thinking at the time, back in 2004, it wasn't allowed to Fillet Polyline arc segments at all. Even in 2016, I'm surprised to find that doing so seems to distort the adjacent arc segment(s), at least in some circumstances.
Kent Cooper, AIA