divde polyline

divde polyline

Anonymous
Not applicable
474 Views
1 Reply
Message 1 of 2

divde polyline

Anonymous
Not applicable
I want to substract a pointlist from a selected polyline from points at a given distance.
In other words: if you use the measure command in Autocad: I want to get a list of all insertion points of the inserted blocks.

I have something in mind: extract a list of vertexes , than calculate the length, than divide the line, take what is left to the calculation of the following vertex, ... But I have a strong feeling that this will take me too far. I think I'm missing some essential construction geometry within vb.net.
0 Likes
475 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant
Hi,

Look at the Curve.GetPointAtDist() method (Polyline inherits from Curve)


Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub