Import element to diagram individually [message #1858166] |
Sat, 18 March 2023 14:30 |
Leonardo Jones Messages: 21 Registered: November 2021 |
Junior Member |
|
|
Hi, everyone,
I wanted a feature where the user could import one or more elements defined elsewhere into the diagram as many times as needed. I don't think using layers or filters will accomplish this, because they are imported all at once rather than individually.
One way I can think of is to import all of the predefined elements when user create a diagram, and then hide them all by a Begin operation. The user can then use the Show/Hide menu to select elements that display parts of them.
I followed the suggestions in this link https://www.eclipse.org/forums/index.php/m/1804184/?srch=programatically+hide#msg_1804184, but I ran into a problem, what is the available variable in Begin operation that represents the created diagram? Because this is the way to get the predefined elements in the diagram then hide them. By the way, the variable 'diagram' didn't work.
Is there anyone who can help me? Thank you.
[Updated on: Sat, 18 March 2023 14:34] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03305 seconds