Skip to content

pytha.delete_element

fabian-flassig edited this page May 7, 2020 · 10 revisions

Deletes a single element or a table of elements.

Similar to the Part tools -> Delete parts function in the PYTHA user interface.

pytha.delete_element(base_part) 
Parameter Type Description
base_part element_handle or {...} A single element handle or a table of element handles

Additional information

If base_part contains element handles to groups, all members of these group will be deleted as well. To delete a group without its members, use dissolve_group instead.

See also:

pytha, element handles, dissolve_group

Clone this wiki locally