subtract#

Modeler2D.subtract(blank_list, tool_list, keep_originals=True, **kwargs)[source]#

Subtract objects.

Parameters:
blank_liststr, Object3d, int or List of str, int and Object3d.

List of objects to subtract from. The list can be of either pyaedt.modeler.Object3d.Object3d objects or object IDs.

tool_listlist, str

List of objects to subtract. The list can be of either Object3d objects or object IDs.

keep_originalsbool, optional

Whether to keep the original objects. The default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Subtract