HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

AUTOCAD VBA help

2009-03-16View Original

Thread Content

In AutoCAD VBA, if a certain curve or line and a horizontal coordinate x are known, how can the vertical coordinate corresponding to X be determined?
Reply #22009-03-17
There are two methods: one is that you know the algorithm for this curve, which allows you to understand the relationship between X and Y, and thus determine the coordinates of Y based on X. Second, once the curve has been drawn, it is also possible to use the GETpoint command to directly obtain the coordinates of that point
Reply #32009-03-17
getPoint must be triggered by a user click, right?
Reply #42009-03-17
Is it a curve or a line? It’s probably difficult with curves; for straight lines, first determine the angle of the line and use tan to find the Y value
Reply #52009-03-22
Just view the coordinates directly, isn’t that enough?

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.