3d line

hello

i want to create a line with co-ordinate

x1=50mm, y1=50mm, z1=50mm

x2=100mm, y2=100mm, z2=100mm

i recorded a macro but when i put the above values and run the macro in the output only the x,y values are there and z value is 0 means the output is coming in xy plane.

for this i recorded a macro to create 3d sketch.

SolidworksApi macros