subtract#

Modeler3DLayout.subtract(blank: str | list, tool: str | list) bool#

Subtract objects from one or more names.

Parameters:
blankstr

Name of the geometry to subtract from.

toolstr or list

One or more names of the geometries to subtract.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Subtract

Examples

>>> from ansys.aedt.core.modeler.modeler_pcb import Modeler3DLayout
>>> obj = Modeler3DLayout()
>>> obj.subtract(blank=["Box1"], tool=["Box1"])