detach_faces#

Polyline.detach_faces(faces: list[FacePrimitive] | list[int] | int | FacePrimitive) list[Object3d]#

Section the object.

Parameters:
facesList[FacePrimitive] or List[int] or int or FacePrimitive

Face or faces to detach from the object.

Returns:
list[ansys.aedt.core.modeler.cad.object_3d.Object3d]

List of object resulting from the operation.

References

>>> oEditor.DetachFaces

Examples

>>> from ansys.aedt.core.modeler.cad.object_3d import Object3d
>>> obj = Object3d()
>>> obj.detach_faces(faces=[1])