(setq param (vlax-curve-getParamAtDist ent dist))
(setq ang (angle '(0.0 0.0 0.0) (vlax-curve-getFirstDeriv ent param)
You can find the angle tangent to the line using the vlax-curve-getFirstDeriv function.
Hope this helps.
Seeing is believing. Prove it by posting an image of your "unpatented invention". We'll have a contest as to what you have "invented". Winner gets a sugar-coated cube. LOL!