Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
To remove the given com.nomagic.magicdraw.uml.symbols.PresentationElement from the diagram, use the method com.nomagic.magicdraw.openapi.uml.PresentationElementsManager.deletePresentationElement(PresentationElement):
| Code Block | ||
|---|---|---|
| ||
PresentationElement element = ...;
SessionManager.getInstance().createSession("Test");
PresentationElementsManager.getInstance().removePresentationElement(element);
SessionManager.getInstance().closeSession(); |
All related presentation elements with all children and connected paths will be removed too.