Retrieve point coordinates in drawing

Hello

 

I would need ideas for a subject: I need to retrieve the coordinates of points located on a curve (intersection of 2 faces). These points would be about fifty on this curve. These coordinates should appear in a table for ease of reading, not as dimensions on the plan.

 

My goal is to see if there is a method that is fast enough and limits manual interventions.

 

For the moment I was planning to insert points (reference geometries) using the "multiple reference points" option and then "distribute evenly". There I have my points but I don't see how to retrieve their coordinates in a table, a bit like a drilling table but with the 3 directions for the dimensioning.

 

If anyone has an idea...

 

Attached is an example of a curve.


screenshot048.jpg
2 Likes

Hello

The GetCoordinates utility of the My Cad Tools suite. Allows you to do this, here is a link to your descrispive. http://www.lynkoa.com/store/fr/tools-et-macros/utilitaires/utilitaire-getcoordinates.html

 

If you have access you can see the videos of how it works here: http://www.mycadservices.com/store/fr/formation/mycadtools/utilitaires-getcoordinates.html

 

 

2 Likes

getcoordinates 3D

http://www.axemble.com/sites/default/files/reprise/KB-Article-001539/Presentation%20des%20utilitaires%202008.pdf

Duplicate of @ rmorel too late!

@+ ;-)

Hi Benoit,

 

It seems to me that the "Getcoordinates" utility does this very well.


getcoordinates.png

Thank you @rmorel, but I don't have the MyCAD tools suite, I'm looking for a pure SolidWorks solution.

 

But it can be useful to others.

Hello

 

I don't know if that can help you.

 

http://www.softpicks.fr/software/MultimASdia/CAD/Points-Import-for-SolidWorks_fr-40267.htm

 

 

Hello

 

A free download macro is available here:

 

http://www.cadsharp.com/macros/get-views-sketch-points-coordinates-vba/

 

Found here https://forum.solidworks.com/thread/60386:

The macro "Get the coordinates of all sketch points in a drawing view" that selects all sketch points in a drawing view and prints their XYZ coords to the immediate window.

 

Or an example is given here:

 

http://www.eng-tips.com/viewthread.cfm?qid=160366

1 Like

Read this link

http://www.forum-cao-3d.fr/solidworks-questions/recuperer-une-table-de-coordonnee-des-points-t5681.html

5 Likes

Good... I tried the macro, but you have to face the facts, you need a minimum of knowledge in it... When I run, it tells me "compilation error. User-defined type not defined" and denotes the line Dim xlApp As Excel.Application.

 

What should I do or, better, would there be a way to have the macro directly executable please?

 

For the IGES, I tried on a part with only reference points and it doesn't convert them.

Have you read Tof's answer?

I haven't tested the macro but coming from Mookymook, it must be worth it  
Otherwise to come back to the solution from an IGES export, I hadn't specified but you obviously have to create the points on SW. Then the option exporting curves/points must be checked in the IGES export.
Then, the X,Y,Z of the points are identified by a 106 at the beginning of the line in the IGES. So you have to ignore the rest (i.e. 90% of the file). The cleaning can be done + easily on Excel.
And for precision, there are 8-10 digits after the decimal point for each coordinate, so it should be accurate. 

 

PS;

Knowing the authors in several FOFO

For a long time it has seemed hard to believe that it doesn't work

 

@+ ;-)

1 Like

I read that answer correctly. And if you dig a little deeper, it's not code 106 but 116, and it designates the sketch points and not the reference geometry points (obviously not importable).  So you have to draw a 3D sketch with sketch points on the geometry points. But it's not bad... thanks to GT22.

 

To see if someone can help me with the macro... syouplai...

1 Like

Thank you GT22,

 

In the absence of feedback for the macro, your solution suits me, following the clarifications I made later...

 

Thank you all.

1 Like