Model.reversecontactsurfnormals#
- Model.reversecontactsurfnormals(name, elemcollection, indelems)#
Change normals (inward to outward, vice versa) of contactsurf.
- Parameters:
name (hwString) – Name of the contactsurf being created.
elemcollection (Collection) – The collection containing the element entities whose normal need to be reversed.
indelems (int) – Flag for reversing normals of all or individual elements of a contactsurf (0 = all elements and 1 = individual elements).
Example#
Reverse normals of contactsurf “ test “ for the elements on the selected elements#import hm import hm.entities as ent model = hm.Model() model.reversecontactsurfnormals( name="test1", elemcollection=hm.CollectionByInteractiveSelection(model, ent.Element), indelems=0, )
Note
If
indelems = 0then the mark is empty as all elements in contactsurf are selected.