Count surfaces with condition

Moderator: GiD Team

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

Count surfaces with condition

Postby sanudo » Tue Jun 08, 2021 6:12 pm


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
Posts: 1718
Joined: Thu Sep 18, 2014 3:31 pm

Re: Count surfaces with condition

Postby escolano » Wed Jun 09, 2021 4:44 pm

The GiD Tcl command GiD_Info conditions allow to get this information
set num_entities [GiD_Info conditions $condition_name geometry -count]

See the "GiD customization manual"

Return to “Customization”

Who is online

Users browsing this forum: No registered users and 1 guest