Model.hm_wadlinessethood#
- Model.hm_wadlinessethood(hoodEntities)#
Sets the entities for the hood used to create the reference line.
This API must be used after initializing the wadlines analysis using
Model.hm_wadlinesinit().- Parameters:
hoodEntities (Collection) – The collection containing the entities for the hood used to create the reference line.
- Returns:
hwReturnStatus- Status object
Example#
Set the hood entities for collision to components with IDs 102 and 103#import hm import hm.entities as ent model = hm.Model() model.hm_wadlinesinit() comps = hm.Collection(model, ent.Component, [102, 103]) model.hm_wadlinessethood(hoodEntities=comps) model.hm_wadlinesend()