Isaac26a Posted September 17, 2021 Posted September 17, 2021 (edited) Hi everyone, I'd like to ask you again for your help, is there a function I can use? or do you have a suggestion how to obtain the Information of the points every x distance, lets say every 5 or 10 or 20, I can select the lwpolyline (the red ones in this case) and obtain the vertices, the bulges, but how should I procede to obtain the information (I mean the cordinates x and y) of the points that are being touched by the white lines, is there a vlax funtion that I can use to do this? test.dwg Edited September 17, 2021 by Isaac26a Quote
BIGAL Posted September 18, 2021 Posted September 18, 2021 Its not that hard you can use a vertical line then do VL intersectwith it will find the the point of intersection so can get the Y value. I am sure you know about vl getpointatdist use that to establish the X points along a horizontal line. Then delete the temporary line. (setq intpt1 (vlax-invoke obj2 'intersectWith obj1 acExtendThisEntity)) note the extend option the line can be drawn shorter than needed but point will still be calculated. Can also then draw the white vertical lines. 1 Quote
Isaac26a Posted September 18, 2021 Author Posted September 18, 2021 2 hours ago, BIGAL said: Its not that hard you can use a vertical line then do VL intersectwith it will find the the point of intersection so can get the Y value. I am sure you know about vl getpointatdist use that to establish the X points along a horizontal line. Then delete the temporary line. (setq intpt1 (vlax-invoke obj2 'intersectWith obj1 acExtendThisEntity)) note the extend option the line can be drawn shorter than needed but point will still be calculated. Can also then draw the white vertical lines. Thanks BigAl, I'll try that and keep asking if I get stuck with it. Quote
BIGAL Posted September 18, 2021 Posted September 18, 2021 Happy to help, post if you get stuck. 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.