What is the benefit of reinventing the wheel by recreating Andrea's function... If Andrea wanted to be exposed, he'd probably publish crox.lsp and not crox.vlx... Either way for good hackers *.vlx extension is not a problem and you are teasing someones intellectual property by putting your fingers where they shouldn't be IMHO...

Actually, I found the routine interesting.I just wanted to learn the first part, which was to do the curvature in real time.Nothing more.I really apologize for all the embarrassment.I will leave here my last attempt because I was satisfied.I'm sure there are more sophisticated ways, calculating and re-creating all objects, but I've lost even the will to learn by thinking that I might be hurting someone's intellectual property.Probably I should have misinterpreted the purpose of a forum like this.A good year for everyone.

Not at all. We're all here to learn, even curmudgeons like me who have been doing this twice as long as this forum has existed. Have a great day.

Thank you very much for the words my friend.I feel relieved now.I owe everything I learned to this forum and thought that I would never receive any support from here because I did not express myself well.

;;; FilletMax.LSP [command name: FM];;; To FILLET lines and/or lwpolyline line segments, notifying User of MAXimum possible;;; radius, and asking User to specify a radius (offering current default), before Filleting.;;; [If a LWPolyline has another segment in the direction beyond the intended filleted end of;;; the selected segment, and the other object is a Line, can sometimes fail or have unexpected;;; results, depending on geometry and/or whether the segment beyond is a line or arc,;;; because Fillet has limitations on what it can do in those situations.];;; Kent Cooper, last edited 18 March 2015;;; http://cadtips.cadalyst.com/2d-editing/fix-fillet-radius-too-large

I'm almost satisfied with the result.I would very much like your opinion, after all my goal is learning. I miss seeing this forum bustling with great examples of creativity.An example is the post indicated by PKENEWELL.

I'm almost satisfied with the result.I would very much like your opinion, after all my goal is learning. I miss seeing this forum bustling with great examples of creativity.An example is the post indicated by PKENEWELL.

You have a good start Augusto. I would recommend strongly however you learn how to do entity modification using the entity list and ENTMOD, or using VLA-Object modification rather than repeating a command sequence in the GRREAD loop. Your current method is slow and very inefficient. There is also a number of other things that must be emulated in a GRREAD loop to make the program viable to other users, such as object snaps and function keys etc. I'm sorry I currently do not have time to play more with your code and give you an example. Keep learning and experimenting with the code and you will progress.

To give you something to try out: This is a function I created to emulate Function keys while working in a GRREAD loop.

;|============================================================================== Function Name: (pjk-Grread-Fkeys <Character Code>) Arguments: kcode = integer; The Character code from the second element in the return from GRREAD. Returns: T if ENTER or SPACEBAR is pressed, otherwise NIL Description: This function emulates the functions performed when a function key is selected within a GRREAD loop.

Once again thank you for your patience and for encouraging me PKENEWELL!This time I decided to overcome my difficulties and face the GRREAD function.When testing the returns of the function two things caught my attention.The first surprise was to test the double click on the scroll wheel who returned the set of lists(2 39)(2 95)(2 46)(2 122)(2 111)(2 111)(2 109)(2 32)(2 95)(2 101)(2 32)that form the word '_zoom _e and the second was to test the right mouse button and return the code 25 which curiously is not documented.Once I understood the GRREAD function minimally, it's time to face another difficulty I have, trigonometry.

I will skip the ENTMOD function because I understand a little, but the tip was very welcome because it expanded my thinking.I will try to write the same program using GRVECS only.It will be quite a challenge.

I will skip the ENTMOD function because I understand a little, but the tip was very welcome because it expanded my thinking.I will try to write the same program using GRVECS only.It will be quite a challenge.

For some examples of using GRVECS, below are some Temporary Graphics function I use within GRREAD loops. Note: You have to use the (redraw) function to clear the temporary graphics at the start of the next loop within (while...), or you get a mess of temporary vectors being drawn as the cursor moves.

;|============================================================================== Function Name: (pjk-GrdrawArrow) Arguments: pt = Point; A point to place the end of the Arrow lgth = Num; The length of the arrow in Pixels ang = real; an angle expressed in radians col = int; an ACI color number as accepted by (grvecs)