Fix endpoints of a line using createline2

I am writing a macro that creates a line in a  SW Part from selected start and end points in excel.  I am trying to create these lines and have them fully defined, however when I use the following code:

Part.CreateLine2 sX, sY, sZ, eX, eY, eZ

Part.SketchAddConstraints "sgFIXED"

It draws the line and defines the line orientation only, leaving the endpoints free to be moved. 

How do I get the endpoints and fix them also?

SolidworksApi macros