gerrymott Posted June 28, 2015 Posted June 28, 2015 Hi, I'm trying to write a function in VBA that calculates the shortest continuous line that bisects 2 lines and a circle between them. I can calculate the line lengths and the included angle in VBA but can't figure out the other bit. Many thanks Quote
BIGAL Posted June 29, 2015 Posted June 29, 2015 You can use the intersectwith in VBA draw a line at an angel and slowly iterate it with a small angle till you get a answer 'an example you will need to do twice two lines and a temporary line Set arcobj = Thisspace.AddArc(vertPt, cRad, endang, startang) retval2 = arcobj.IntersectWith(oPoly, acExtendOtherEntity) 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.