Can I draw a line in a segment by two points(X,Y)

Can I draw a line in a single slice of a segment by two points(x,y), and then apply it in this segment by python.

Just like this picture I know two points. the result-line should be added in segment.
image

You can use Draw Tube effect (provided by SegmentEditorExtraEffects extension).

1 Like