b_alexx
Guest
Hello everyone
I'd like to put a problem to the community and see if it's possible to get help.
Attached I put a lisp that, once loaded, simply by typing a numerical value between 1 and 255 allows to change the color of the selected entities with the color of the number typed. For example, without any active command, I type 20 and select the entities I want to change the color becomes 20 color (red color). (without switching from property or layer)
Now I'll tell you what my problem is.
The command offset, probably or at least as far as I'm concerned, is one of the most used, so I'd like to streamline the procedure. In practice I would like to use the same system for the color change of which the attached lisp.
I have good lisp infarinations but not so that I can adapt it for the offset command.
I have made several attempts, maybe approaching the result but nothing usable.
It is obvious that the presence of decimals in the lisp and not only whole numbers, increases the difficulty.
in practice if, as in the lisp of the change colors, I type ".25" by selecting the entity from the part where I click perform the offset of 0.25.
If this could be done, some "digits" would be saved, multiplied by the number of times when you run the command would be many.
Thank you for your interest.
I'd like to put a problem to the community and see if it's possible to get help.
Attached I put a lisp that, once loaded, simply by typing a numerical value between 1 and 255 allows to change the color of the selected entities with the color of the number typed. For example, without any active command, I type 20 and select the entities I want to change the color becomes 20 color (red color). (without switching from property or layer)
Now I'll tell you what my problem is.
The command offset, probably or at least as far as I'm concerned, is one of the most used, so I'd like to streamline the procedure. In practice I would like to use the same system for the color change of which the attached lisp.
I have good lisp infarinations but not so that I can adapt it for the offset command.
I have made several attempts, maybe approaching the result but nothing usable.
It is obvious that the presence of decimals in the lisp and not only whole numbers, increases the difficulty.
in practice if, as in the lisp of the change colors, I type ".25" by selecting the entity from the part where I click perform the offset of 0.25.
If this could be done, some "digits" would be saved, multiplied by the number of times when you run the command would be many.
Thank you for your interest.