if u want to extract it to notepad then right click the .sldcrv file------>select open with---->select notepad as the program.
If u want to extract it to excel, open a blank excel sheet,select the data tab----->get external data-->text data--->something pops up--->select delimiter->click next------>uncheck the tab box and check the space box-->finish->and u have successfully extracted the data set-->bravo
Chirag I appreciate your post but my main concern is before the stage you mentioned. I need to create the sldcrv file. I have a spline and i need discrete points.
Did you already find a solution?
I'm having the same problem. We design axial fan-blades based on a basic section profile and found that some discrete coordinates are not right to fit a nice spline through them. I smoothed the spline with the aid of the curvature combs by slightly changing the coordinates. Now I want to export the coordinates back to an ASCII text file.
Thanks for the quick reply.
Will try this macro today and keep you posted.
After some tweaks in the code, it worked for us.
The macro is attached.
Ok, so I got it to work. However, it doesn't return the actual 3D values! I have a spline on an angled plane, and it just returns 0's for all the Z values. How can I get the XYZ points as measured from the origin?
How do you use this, it opens excel, but all i see is x, y, & z, tried it in a new part with nothing but a spline..?
Im using sw 2010 on win7
Thank you Hugo and Deepak for this macro. Was very useful to me.
trying to use your macro but I don't get any values in Excel. I have pre-select the sketch in addition I get this error:
Does this work on 2D sketches as well as 3D sketches?
Mark, make sure that macro references are set correctly to your installed version of SOLIDWORKS. Secondly make sure that you select the sketch feature from the feature tree instead of graphic area.
thanks Deepak - will check on version to see if this is the issue.
I had the same problem as Brendon. It opens excel, but all I see are X, Y, and Z. Any idea as to why it's not importing the points of my splines?
Did you preselect the sketch before running the macro? In SolidWorks, click on the sketch to highlight it before running the macro to return the point values within that sketch.
Retrieving data ...