Extraction of elements id number
Posted: Fri Nov 10, 2017 4:21 pm
Hello,
I'm trying to write a TCL script that returns the ID number of elements inside a condition. Right now I'm using:
which returns something like this:
points = {E 3 -} {E 4 -}
Is it possible to return the ID only, without the need to mess with regular expressions to retrieve this information?
I'm trying to write a TCL script that returns the ID number of elements inside a condition. Right now I'm using:
Code: Select all
set points [GiD_Info conditions Corner geometry]
points = {E 3 -} {E 4 -}
Is it possible to return the ID only, without the need to mess with regular expressions to retrieve this information?