Nikon Posted May 16 Posted May 16 (edited) On 16.05.2024 at 02:28, Tsuky said: (defun c: NTT ( / ss AcDoc Space len lap n ename obj dxf_10 p1 p2 p_mid brk1 brk2 lst_brk dxf_obj dxf_43 dxf_38 dxf_39 dxf_10 dxf_40 dxf_41 dxf_42 dxf_39 dxf_210 lst_tmp where count ltmp e_last nw_pt) (princ "\nSelect polyline") @Tsuky This is a very good code! Unfortunately, it does not highlight straight polylines, is it possible to add straight polylines (and lines) to the selection? Edited May 20 by Nikon Quote
Nikon Posted May 16 Author Posted May 16 (edited) On 15.05.2024 at 07:41, vandehuy said: Cut pline-NTT.VLX This code does what needs, but it gives a message: Unknown "UNDO" command Edited May 20 by Nikon Quote
Tsuky Posted May 16 Posted May 16 @Nikon Thank you! According to your images, I think I have answered your request although I am not in the trade (if I understood correctly it concerns steels and I know nothing about it). So this accepts polylines with 4 or 2 vertices, as well as lines and the dimensions follow the direction of creation of the entities. For the VLX, we can't do anything because it is compiled. Only the creator who owns the sources can correct it. ntt(bis).lsp 1 Quote
Nikon Posted May 17 Author Posted May 17 (edited) On 17.05.2024 at 01:59, Tsuky said: So this accepts polylines with 4 or 2 vertices, as well as lines and the dimensions follow the direction of creation of the entities. For the VLX, we can't do anything because it is compiled. Only the creator who owns the sources can correct it. Yes, this applies to the layout of reinforcing steel, taking into account the length and overlap. @Tsuky Thanks Edited May 20 by Nikon Quote
Tsuky Posted May 17 Posted May 17 Immediately you can rerun the command several times by selecting the previous polylines/lines. Only segments of sufficient length will be processed. I will see if I can complete the code to avoid this manipulation. 1 Quote
Nikon Posted May 17 Author Posted May 17 1 hour ago, Tsuky said: I will see if I can complete the code to avoid this manipulation. @Tsuky Thank you, that would be good! Quote
Tsuky Posted May 19 Posted May 19 On 5/17/2024 at 12:44 PM, Nikon said: @Tsuky Thank you, that would be good! @Nikon You can try this, but there may still be bugs. I'm not guaranteeing anything, but with my brief testing, it looks good. ntt(bis).lsp 1 Quote
Nikon Posted May 20 Author Posted May 20 10 hours ago, Tsuky said: ou can try this, but there may still be bugs. I'm not guaranteeing anything, but with my brief testing, it looks good. @Tsuky This code does the job perfectly! Thank you very much! Quote
SLW210 Posted May 20 Posted May 20 I have created you a new thread, this adding to others threads is confusing the original posters need. Highlight straight polylines Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.