DraganK Posted March 3 Author Posted March 3 On 3/3/2025 at 2:16 PM, GLAVCVS said: Try this: I've modified the previous code I tried to display a message if there is no selection set. Copy the code again and test it. If it doesn't display an alert with the message 'Without Sset' try something else: do a 'zoom extents' to make sure the code didn't draw the lines too far away. Did I explain myself correctly? Expand You explained it well. I did everything but it's the same again. I didn't even write that before but it reports a zero length for some lines, that doesn't happen with 4-digit coordinates. I'm also adding a picture to make it clearer. Thank you very much. Quote
DraganK Posted March 3 Author Posted March 3 On 3/3/2025 at 2:16 PM, GLAVCVS said: Try this: I've modified the previous code I tried to display a message if there is no selection set. Copy the code again and test it. If it doesn't display an alert with the message 'Without Sset' try something else: do a 'zoom extents' to make sure the code didn't draw the lines too far away. Did I explain myself correctly? Expand You explained it well. I did everything but it's the same again. I didn't even write that before but it reports a zero length for some lines, that doesn't happen with 4-digit coordinates. I'm also adding a picture to make it clearer. Thank you very much. Quote
GLAVCVS Posted March 3 Posted March 3 On 3/3/2025 at 2:38 PM, DraganK said: You explained it well. I did everything but it's the same again. I didn't even write that before but it reports a zero length for some lines, that doesn't happen with 4-digit coordinates. I'm also adding a picture to make it clearer. Thank you very much. Expand Ok Try this: change all ten-thousandths to thousandths. That is, change every time you find 0.0001 to 0.001 Quote
GLAVCVS Posted March 3 Posted March 3 (edited) And make sure that there are no small invisible lines near the line you need to select (possibly there are several and when you try to select the slope line you actually select one of these small lines. For this reason the command might not work correctly) Edited March 3 by GLAVCVS 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.