Count surfaces with condition

Moderator: GiD Team

Post Reply
sanudo
Posts: 2
Joined: Tue May 18, 2021 3:31 pm

Count surfaces with condition

Post 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
User avatar
escolano
Posts: 1915
Joined: Sun Sep 05, 1982 10:51 pm

Re: Count surfaces with condition

Post 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"
Post Reply