Back to docs
Description Get the count of groups for a specified group type.
Parameters
| Index | Group Type |
|---|---|
| 1 | Nodes |
| 2 | Members |
| 3 | Plates |
| 4 | Solids |
| 5 | Geometry (Members, Plates and Solids) |
| 6 | Floor (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)
© 2024 OpenStaad
Built with Reflex