create_object_from_edge#

Modeler2D.create_object_from_edge(assignment, non_model=False)[source]#

Create an object from one or multiple edges.

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. The default is False.

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

3D objects.

References

>>> oEditor.CreateObjectFromFaces