Delete multiple elements that are selected by using Java Service [message #1793308] |
Fri, 03 August 2018 14:22 |
Parsa Pourali Messages: 210 Registered: February 2014 |
Senior Member |
|
|
Hello,
Assume that a user selects multiple elements in a diagram, and uses delete key/button to delete the elements. Now, I'm trying to pass the selected elements to a java service and do some stuff before deleting these elements. What I need is to pass all the selected elements. So, if I just say "service:DeleteMyElements()", it will only pass the first selected element from the list of the selected elements. Is there any way to pass all the selected elements? I know I can use "for" element, but with "for" I can only pas one of the selected elements one at a time. However, I need to pass all the elements at the same time.
Thanks,
Regards,
Parsa
[Updated on: Tue, 07 August 2018 13:12] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03178 seconds