Model.hm_getplanarfaces#
- Model.hm_getplanarfaces()#
Returns a list of planar surfaces.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:planarSurfaces (EntityList) - Entity Type:
Surface
Example#
Get the list of all planar surfaces in the current model#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getplanarfaces() print("Planar Surfaces:", [s.id for s in result.planarSurfaces])