7 Replies Latest reply on Aug 11, 2016 12:15 PM by Robyn Burrows

# Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

I multiple sets of multiple sketch points. I want select a group of sketch points and know the average, or create a new point that represents the average of the group. Any ideas?

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

You might try something like this (If I understand you correctly). Connect the group of sketch points with a spline. Make a Surface-Plane from the closed spline then use the point reference tool to find the center of the face. Then you can hide the surface and if you like you can convert that reference point to a sketch point. Edit:.. You could also use straight lines to connect.

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

1. create a small sphere at a sketch point.

2. use sketch driven pattern to pattern sphere to all points in the sketch.

3. find the center of mass.

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

Good thinking! Definitely saved me some time.

The only issue was that each measurement trial was on a separate sketch. To find an average position I had to create a new sketch and convert entities. It would be nice if Solidworks allowed Box Selection for Convert Entities instead of having to manually click on every point I wanted to include in the average.

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

Robyn,,, While in your sketch (of points) how about box or lasso selecting the points you want in a new sketch and from the tools>sketch tools> Create Sketch from Selections. Now you have what you want in a new sketch. • ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

you should be able to select the entire sketch to convert by clicking on the name in the tree.

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

I have quite a few sample parts that were measured. For each measured part I have an imported sketch of multiple critical features marked with points.So for the average position of each critical feature I have to select points in one general area but those points are from multiple sketches.

• ###### Re: Is there a way to find the average position of multiple sketch points? I imported dxf's of measurement data and it would be great if I could now select multiple points and know the average.

Hi Robyn,

Try this macro: #CODE|Calculate the Average Point

Thanks,

Artem