Submitted by JXB on Tue, 09/30/2014 - 01:38
Forums:
To all
This question might be a bit more "advanced"? Is it possible to get a user's screen selection? See attached for example. In the simulation navigator if the user selects a few response simulations I'd like to put all the "names" selected into a collector/array (whatever is easier) to carry-out some post processing. If it is easier do to it in the XY Function Navigator then this will work for me too!
Thanks
Regards
JXB
Get user selection from screen in a "Navigator" - How to? Part 1
I have been advised that access to the global selection using
UI.GetUI().SelectionManager.GetNumSelectedObjects(); and
UI.GetUI().SelectionManager.GetSelectedTaggedObject(n);
Enjoy!
Regards
JXB
Thanks
Regards
Get user selection from screen in a "Navigator" - How to? Part 2
after some search
http://www.nxjournaling.com/content/how-can-i-know-which-feature-or-obje...
Thanks
Regards
Re: Get user selection from screen in a "Navigator" - How to?
Well tha is not working. I have tested the code and my selection is not regonised i.e. it is blank.(numsel = 0). I am working in the 'XY Function Navigator'.Does anyone have knowledge of using 'XYPlotManager'? This might give me more option
Thanks
Regards
JXB
Thanks
Regards