yeah this is a wonderful start point for me. at my level is pretty daunting to understand.
I’m going to try and pull just the line start and end point that then draws the runway outline, then the marking. That’s going to my first goal.
second will be the threshold stripes. I assume those stripes are controlled by or from the line.start point. and the length is coming from the excel file. in the real world I’d need to set additional points at 10 and 20 feet from the line.start point to set start the threshold and then the threshold marking stripes. is there a method to set points based on line direction?.
can you do something like this in a code block?
point1.byCooridates (pt1.X, pt1.Y) = rw centerline line start point (x,y)
point2.byCooridates (pt2.X, pt2.Y) = rw centerline line end point (x,y)
get the vector direction so I can set new points 10 and 20 feet in the direction of of
point1 and point2. let say I’m a surveyor, I setup at point1 siting point2 and I want to set points on that direction from point1 an point2, at 10, and 20 feet.
Dim pt10 As New Point2d(pt1.X, pt1.Y)
Dim pt20 As New Point2d(pt2.X, pt2.Y)
'Autodesk.AutoCAD.ApplicationServices.Application.ShowAlertDialog("Angle from XAxis: " & pt10.GetVectorTo(pt20).Angle.ToString())
dblRot = pt10.GetVectorTo(pt20).Angle
newpt104 = PolarPoint(newpt101, (pi + dblRot), 10))
newpt105 = PolarPoint(newpt104, (pi/2 + dblRot), runwaywidth / 2))
newpt106 = PolarPoint(newpt104, (pi/2 + dblRot), runwaywidth / 2))
Dim objline1 As Line = New Line(newpt105, newpt106
This is great stuff if I can ever figure it out.