Last active
March 28, 2018 16:08
-
-
Save GuillermoYanez/1b4f6300042bcd2b9de14c7a9308cd67 to your computer and use it in GitHub Desktop.
TCL proc to delete all existing gemetric entities from GiD (pre and post processor)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TCL proc to delete all entities from GiD. | |
# It was taken from GiD Forums. | |
# Restarts the entities counter to 1. | |
proc DeleteEntities { } { | |
GidUtils::DisableGraphics | |
foreach type { volume surface line point } { | |
GiD_Geometry delete $type 1:end | |
} | |
GidUtils::EnableGraphics | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment