- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Afternoon,
I have written some code to select a polyline and then assign the various points in the polyline to new variables. However, I am running into the issue where the data I am getting from the polyline is 2d and the items downstream require 3D.
Here is an example:
Dim myPLine As Polyline
dim Num_Points as integer = myPLine.NumberOfVertices
Dim Point1 As New Geometry.Point2d ' Needs to be .Point3d to work with the .Line command
Point1 = myPLine.GetPoint2dAt(Count)
Dim Myline1 As New DatabaseServices.Line(Point1, Point2)
In this case, everything up to the "Dim Myline1" works with 2d, but the line command requires 3d.
Does anyone have an solutions for this.
Please let me know when you can.
Solved! Go to Solution.