split#
- Modeler3D.split(assignment, plane=None, sides='Both', tool=None, split_crossing_objs=False, delete_invalid_objs=True)#
Split a list of objects. In case of 3D design possible splitting options are plane, Face Primitive, Edge Primitive or Polyline. In case of 2D design possible splitting option is plane.
- Parameters:
- assignment
str,int,orlist One or more objects to split. A list can contain both strings (object names) and integers (object IDs).
- plane
str,optional Coordinate plane of the cut. The default value is
None. Choices for the coordinate plane are"XY","YZ", and"ZX". If plane or tool parameter are not provided the method returnsFalse.- sides
str,optional Which side to keep. The default is
"Both", in which case all objects are kept after the split. Options are"Both","NegativeOnly", and"PositiveOnly".- tool
str,int,ansys.aedt.core.modeler.cad.elements_3d.FacePrimitiveor For 3D design types is the name, ID, face, edge or polyline used to split the objects. For 2D design types is the name of the plane used to split the objects. The default value is
None. If plane or tool parameter are not provided the method returnsFalse.- split_crossing_objsbool,
optional Whether to split crossing plane objects. The default is
False.- delete_invalid_objsbool,
optional Whether to delete invalid objects. The default is
True.
- assignment
- Returns:
References
>>> oEditor.Split