Jump to content

Recommended Posts

Hey,

 

I' ve created two feature definitions for importing and exporting of point data.

 

Import:

 

The file is read line by line. To create the point as objects you have to create the feature defintion via execute Defintion (right click).

 

The point data in the csv or txt file has to be separated by white space or comma by default.

 

You will find attached the project, the feature definitions and two example files as a zip file.

 

Best regards

 

Karsten

ImportPointData.fdf

writeCsv.fdb

exampleFiles.zip

post-41-0-37353500-1371566934_thumb.png

post-41-0-70835800-1371566934_thumb.png

ReadAndWriteFiles.fdb

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi Karsten,

 

I've tried to use the import point data feature definition on its own but cannot get the "section" to be displayed.

 

And if I use the ImportPointData.fdf then it's displaying the curve but not using the datafile from the "ReadFile" feature but is using the Csv-file as indata. Its somewhat confusing.

 

BR

Daniel

Share this post


Link to post
Share on other sites

Hey Daniel,

 

I've tried to use the import point data feature definition on its own but cannot get the "section" to be displayed.

 

Did you define an input file? I have tested the files again and they are working at least on my system.

 

 

And if I use the ImportPointData.fdf then it's displaying the curve but not using the datafile from the "ReadFile" feature but is using the Csv-file as indata. Its somewhat confusing.

Please try the following steps:

  1. download ReadAndWriteFiles.fdb and exampleFiles.zip
  2. extract exampleFiles.zip
  3. open ReadAndWriteFiles.fdb
  4. link test.txt gain to the feature ReadFile
  5. now the section should be available

Best Regards

 

Karsten

 

 

Share this post


Link to post
Share on other sites

Hey Felipe,

 

Sorry for the late reply.

 

If I understand you correctly the empty line defines a new set off data right?

 

If so you can use this feature. Please note, that the feature now does not create a table of the imported data.

It is based on the import2Ddata. (features > tools > Import 2D data from files)

 

1) Simply create a feature definition via features > new definition,

2) select Reload button.

3) choose the downloaded import3DDataWithSeperator.fdf file.

 

I hope this solves your problem.

 

In this post you can find a custom import for geomturbo data files.

Which has a string as separator. If you want to use a String instead of an empty line.

 

Cheers,

 

karsten

Import3DDataWithSeperator.fdf

Share this post


Link to post
Share on other sites

Hey Felipe,

 

Sorry for the late reply.

 

If I understand you correctly the empty line defines a new set off data right?

 

If so you can use this feature. Please note, that the feature now does not create a table of the imported data.

It is based on the import2Ddata. (features > tools > Import 2D data from files)

 

1) Simply create a feature definition via features > new definition,

2) select Reload button.

3) choose the downloaded import3DDataWithSeperator.fdf file.

 

I hope this solves your problem.

 

In this post you can find a custom import for geomturbo data files.

Which has a string as separator. If you want to use a String instead of an empty line.

 

Cheers,

 

karsten

Hi Karsten,

Thanks for creating these files. The 3D import works fine for me. How can I import 2D data then? I did not find "import 2D data from files in features".

 

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...