Jump to content
Toan Nguyen

temp node or point coordinate export

Recommended Posts

B) This is template-style in case you want to write out 1e+6 nodes or more:

set TplString {

*nodes()

    *before()

         *string("ID,X,Y,Z") *end()

    *format()

         *field(integer,id,0) *string(",")

         *field(real,globalx,0) *string(",")

         *field(real,globaly,0) *string(",")

         *field(real,globalz,0) *string(",")

         *end()

*output()

}

set fpt [open nodeexport.tpl w]

puts $fpt $TplString

close $fpt

*displaynone; #=> only temp nodes are displayed

hm_answernext yes

*usercheck nodeexport.tpl YourFileName.csv 0

 

Rahul R likes this

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.

Guest
You are posting as a guest. If you have an account, please sign in.
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...