Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
set fp [open $filename w]
GiD_EntitiesLayers print $lay$layer_name nodes "%i %g %g %g\n" $fp
close $fp

...

Example: to print the element connectivities of the elements of type triangle belonging to $layer_name (expected non quadratic case, with 3 nodes by triangle), and omit print the element id with %.0s

Code Block
GiD_EntitiesLayers print $layid$layer_name elements -element_type Triangle "%.0s%i %i %i\n" $fp


...