Model.hm_getsurfacesfromvertex#
- Model.hm_getsurfacesfromvertex(point)#
Gets all surfaces connected to the point.
- Parameters:
point (Entity) – The object describing the point entity to get the connected surfaces.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:surfaces (EntityList) - The list containing surfaces connected to the vertex point entity - Entity Type:
Surface
Example#
Get surfaces connected to the vertex with ID 2#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getsurfacesfromvertex(point=ent.Point(model, 2)) print("Surfaces:", [s.id for s in result.surfaces])