Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello all,
Is there some way to set the filter in the lower right of the status bar programmatically to narrow the selection type?
Solved! Go to Solution.
Maybe, you can run mapkey to change a value in the selection filter listbox.
the first argument to ProSelect() function is a 'run-time' selection filter.
Thanks.
I think I was not specific enough. I intended to say without using function ProSelection.
Now I think that the filter in the lower right of the status bar does not anything but just serves as parameter to be applied for the above function.
are you trying to use ProSelbufferSelectionsGet(...) function?
Yes, that is exactly what I do. But the user on each stage should be able to choose only one specific type. So, I want to provide this without using Parametric UI but programmatically.
Maybe, you can run mapkey to change a value in the selection filter listbox.
If there is no other choice. Thanks.
perhaps UI could be programmed similar to how hole-feature definition's 'Placement' dialog box is working - the dialog starts with pre-selection enabled 'Placement' input panel, but for 'Offset References' panel - an end user must left-click on the panel area and that starts ProSelect() (in no-dialog-mode) which specifies available selection filters.
Thanks FV,
But for now, I prefer to avoid ProSelect() complexities all together and filtering from selections. This greatly simplifies the program flow.