Page 1 of 1

Count surfaces with condition

Posted: Tue Jun 08, 2021 6:12 pm
by sanudo
Hello,

is there any option to know the number of surfaces that have a condition? For example, I can know the number of elements that have a condition writing *MeshElem in the bas file. Is there something similar for a surface?

Thanks in advance

Re: Count surfaces with condition

Posted: Wed Jun 09, 2021 4:44 pm
by escolano
The GiD Tcl command GiD_Info conditions allow to get this information
e.g.
set num_entities [GiD_Info conditions $condition_name geometry -count]

See the "GiD customization manual"