Jump to content

Cannot export section as csv.


---
 Share

Recommended Posts

I'm looking to export a single section from an offset plane as a csv (i.e. the points that the section is made out of). When I go to Export -> Geometry -> CSV and click on the section, it says:

An error occurred during executing the XSLT file. Choose or enter a delimiter. 

I then select Semicolon as my delimiter it then says:
 

There is no valid element selected in the explorer. Please select exportable elements. This export format does not support element "Plane Y +5.000 mm".

I have tried selecting the points of the element, just selecting the element, neither. But I can never enable the OK button.image.thumb.png.a7b5b28fc165b30c34936e5ddf536fe7.png

Link to comment
Share on other sites

Do this instead. 

Select the Actual Section - File - Export - Geometry - ASCII. 

The .ascii file it creates is just a txt file. You can use that however to your liking. 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

I don't do this often, but a couple years ago, I just created a point cloud from the section cut, then reference geometry to get the actual from nominal points.

Then ran a script created using the F2 button and highlighting both the nominal could point and actual:

import gom
import numpy as np

print(np.array (gom.app.project.inspection['Point cloud (discrete) 1'].data.coordinate))

print(np.array (gom.app.project.actual_elements['Point cloud (discrete) 1'].data.coordinate))

Link to comment
Share on other sites

 Share

×
×
  • Create New...