carmelo81
Guest
Bye to all,
I found a lisp and adapted it to my needs: that is to realize two parallel lines and a median line, all to simulate a door in an architectural design. the lisp I call it with the "p" fast button in the command bar.
the code at startup asks me:
1. the "spessore", which I can also put by clicking two points by mouse;
2. the "length" of the door, which I can only put by mouse by clicking two points on the window.
I ask the most experienced help to:
1. clean the code from unnecessary parts;
2. store the "thickness" value so that you automatically have the last thickness value used when I call the command;
3. give the port length by writing a value in the command bar and not only by mouse and also memorizing this value.
thank you so much for the help
I attach code
I found a lisp and adapted it to my needs: that is to realize two parallel lines and a median line, all to simulate a door in an architectural design. the lisp I call it with the "p" fast button in the command bar.
the code at startup asks me:
1. the "spessore", which I can also put by clicking two points by mouse;
2. the "length" of the door, which I can only put by mouse by clicking two points on the window.
I ask the most experienced help to:
1. clean the code from unnecessary parts;
2. store the "thickness" value so that you automatically have the last thickness value used when I call the command;
3. give the port length by writing a value in the command bar and not only by mouse and also memorizing this value.
thank you so much for the help
I attach code