create_object_from_face#

Modeler2D.create_object_from_face(assignment, non_model=False)#

Create an object from one or multiple face.

Parameters:
assignmentlist, int or ansys.aedt.core.modeler.Object3d.FacePrimitive

Face ID or ansys.aedt.core.modeler.Object3d.FacePrimitive object or Face List.

non_modelbool, optional

Either if create the new object as model or non-model. Default is False.

Returns:
ansys.aedt.core.modeler.Object3d.Object3d or list of ansys.aedt.core.modeler.Object3d.Object3d

3D objects.

References

>>> oEditor.CreateObjectFromFaces