I have some geometry calculations to perform on a spline without destroying it. My solution is to make a copy of the spline after selecting it so I can perform sketch operations on it while still maintaining the original spline. I need to be able to recall this copied spline in my code. How do assign a Dim variable to it? Keep in mind that there may be multiple line/spline sketch segments in the sketch, I simply can't loop through to fetch it or use ID's because of possible sketch segment deletion.
SolidworksApi macros