colinear_heal#
- Modeler3DLayout.colinear_heal(assignment, tolerance=0.1)[source]#
Remove small edges of one or more primitives.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.Heal
Examples
>>> from ansys.aedt.core import Hfss3dLayout >>> h3d=Hfss3dLayout(version="2021.2") >>> h3d.modeler.layers.add_layer("TOP") >>> l1=h3d.modeler.create_line("TOP",[[0,0],[100,0]],0.5) >>> l2=h3d.modeler.create_line("TOP",[[100,0],[120,-35]],0.5) >>> h3d.modeler.unite([l1,l2]) >>> h3d.modeler.colinear_heal("poly_2",0.25) True