Is there a way to add a vertex to a curve using c#?

Is there a way to add a vertex to a curve using c#?

heyimsp12
Enthusiast Enthusiast
387 Views
2 Replies
Message 1 of 3

Is there a way to add a vertex to a curve using c#?

heyimsp12
Enthusiast
Enthusiast

Hi,

I'm curious if there is any way by which we can append/join/add vertex to a curve at either Curve's start point or end point?

 

I'm sure there is some way to do this for polylines, but in my case I need something that works for in general with curves( Lines, polylines, splines, etc)

0 Likes
Accepted solutions (1)
388 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

Hi,

 


@heyimsp12  a écrit :

I need something that works for in general with curves( Lines, polylines, splines, etc)


There's no way to do this "in general with curves" because appendig a vertex have to be done in a different way for a Polyline or a Polyline3d or a Spline and is not possible for a Line, an Xline, a Ray, a Circle, an Ellipse...



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

heyimsp12
Enthusiast
Enthusiast

Thanks @_gile 

0 Likes