Does anyone know how to modify coordinates of points in a sketch?
Does anyone know how to modify coordinates of points in a sketch?
(OP)
Hi,
I have a sketch containing point clouds (>1,000). I can read (get) coordinates of these points from the sketch using these two commands:
sketchPointArray = swSketch.GetSketchPoints2
Xi = sketchPointArray(i).X: Yi = sketchPointArray(i).Y
I want to edit coordinates of these points uisng Solidworks VBA. Does anyone know what method to use to modify coordinates of the points? Is there a command to set coordinates?
swSketch.SetSketchPoints2 (I made this up. I assume there is a "Set" sketch points method)
Best regards,
Alex
I have a sketch containing point clouds (>1,000). I can read (get) coordinates of these points from the sketch using these two commands:
sketchPointArray = swSketch.GetSketchPoints2
Xi = sketchPointArray(i).X: Yi = sketchPointArray(i).Y
I want to edit coordinates of these points uisng Solidworks VBA. Does anyone know what method to use to modify coordinates of the points? Is there a command to set coordinates?
swSketch.SetSketchPoints2 (I made this up. I assume there is a "Set" sketch points method)
Best regards,
Alex
RE: Does anyone know how to modify coordinates of points in a sketch?