OPS

HomeDocsSupport

OPS

Back to docs

GetGroupCount

Description Get the count of groups for a specified group type.

Parameters

  • grouptype index (int): The type of group.
IndexGroup Type
1Nodes
2Members
3Plates
4Solids
5Geometry (Members, Plates and Solids)
6Floor (Floor beam)

Returns int: Number of groups of the given type.

Example To use this function see the following example:

from openstaad import Geometry
 
# Instanciate the Geometry module 
geometry= Geometry() 
 
#Execute the function from geometry module
group_count = geometry.GetGroupCount(6)

print(group_count)

What is OPS?GitHubSupport

© 2024 OpenStaad

Built with Reflex