Model.savefailednodesvectors#
- Model.savefailednodesvectors(collection, reduction, scale, segment, magnitude_mode)#
Saves the location, magnitude, and direction of the penetrated areas.
- Parameters:
collection (Collection) – The collection containing the entities to be modified.
reduction (double) – The average thickness reduction.
scale (double) – The thickness scale factor.
segment (int) – The segment orientation option.
magnitude_mode (int) –
Determines if a magnitude percentage or a uniform size is to be used. Valid values are:
0 - uniform size
1 - magnitude percentage
Example#
Save the information of the penetration areas#import hm import hm.entities as ent model = hm.Model() # Creating a collection that contains all all the penetration areas "E2E" groups = hm.Collection(model, ent.Group, "name=E2E") model.savefailednodesvectors( collection=groups, reduction=0.0, scale=1.0, segment=1, magnitude_mode=0 )