Remove and destroy a model element
destroy(element)
destroy(element) removes and destroys the model element.
element
collapse all
Create a component and then remove it from the model.
newcomponent = addComponent(rootArch,'NewComponent'); destroy(newcomponent)
Data Types: systemcomposer.arch.Element | systemcomposer.interface.SignalInterface | systemcomposer.interface.SignalElement | systemcomposer.profile.Property
systemcomposer.arch.Element
systemcomposer.interface.SignalInterface
systemcomposer.interface.SignalElement
systemcomposer.profile.Property
removeElement | removeProfile | removeProperty
removeElement
removeProfile
removeProperty