Light geometry

Is there some sort of way to create sketch geometry without visibility to the user and not resource intensive?

For example, to draw a line so that it will not appear on the screen and when it was available all of its parameters (StartPoint, EndPoint ...)

SolidworksApi macros