Model.hm_getfacesfromvertex#
- Model.hm_getfacesfromvertex(point)#
Gets all faces connected to the point whose entity is supplied as the argument.
- Parameters:
point (Entity) – The object describing the point entity to find the faces connected to this point.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:faceIds (numpy.ndarray)
Example#
Get faces connected to the vertex with ID 2#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getfacesfromvertex(point=ent.Point(model, 2)) print("faceIds", result.faceIds)