Jump to content

File I/O: How to write a file with a feature

Recommended Posts

In order to write some data into a file, you have to use the FFileOut type of CAESES.


I have attached an example project. It takes the input (which is a 3D point) and writes the coordinates into a file post-8-0-53668300-1502451047_thumb.png. In the GUI, run the feature through the context menu, choose the run action post-8-0-44782700-1502451040_thumb.png.


Here are the settings for the feature arguments: post-8-0-91102300-1502451022_thumb.png


And here is the feature code: post-8-0-35861700-1502451030_thumb.png


If you use the batch mode of CAESES, you can call the command "|writeFile.run()" in the fsc-script.





BTW: I have also set a custom icon for this feature which then appears in the tree. You can choose your own or use existing CAESES icons.


  • Upvote 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...