Model.hm_getedgesfromvertex#
- Model.hm_getedgesfromvertex(point)#
Returns all surface edges connected to a specified vertex point.
- Parameters:
point (Entity) – The object describing the vertex (point) entity.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:surfaceEdges (EntityList) - Entity Type:
Line
Example#
Get the edges attached to vertex point with ID 2#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getedgesfromvertex(point=ent.Point(model, 2)) print("surfaceEdges", [l.id for l in result.surfaceEdges])