Is it possible to export the points from a curve? each point should have the X,Y,Z properties. We are talking about contour lines. Thank you very much.
Greetings
Boris
Is it possible to export the points from a curve? each point should have the X,Y,Z properties. We are talking about contour lines. Thank you very much.
Greetings
Boris
Hi Boris -
You could use a macro for this:
All ExtractPt -Export A:\test.txt enterend Delete
(I have an "A:" disk on this machine - you’ll need to provide a path that you can write to without requiring elevated permissions)
-wim
Thank you for your help. I do not know anything about macros. I have inserted it like this. But it does not work.
Gruss
Boris
Hi Boris -
That’s what I meant with using a path that doesn’t require elevated rights. Typically, creating files in the root folder on C:\ requires special permissions.
-wim
Try using C:\Users\<your user name>\Desktop\test.txt
(put in your real user name instead of <your user name>
)
I have taken the easy way
Line Activated - ExtractPt - done
Thanks for your help with the command
Greetings
Boris
Here is a quickie Python script which will export selected curve control points in either .csv (comma delimited) or .txt (space-delimited) formats. Beware, it adds a blank line between each curve’s control point set to make reading easier.
ExportCrvsCtrlPtsSimple.py (1.2 KB)
Is it possible to omit the blank line?
Perfect! Thank you very much.
Greetings
Boris