Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi,
I have a UI created for OTK application. There is button which when pressed allows user to select a face which will be processed later. We use pfcSession->select() for selection. Once selection is done, user presses middle click to complete the selection.
User requirement- When selection of the face is completed, by pressing 'Ok'/middle click, I want to stop any further redundant selection. Selection should happen only when pfcSession->select() is On.
Please help.
Thanks
Solved! Go to Solution.
This is how to limit a number of possible selections to 1:
Without seeing your dialog control loop it is impossible to tell what is 'On' state and what is 'Off' state.
BTW - Pro/Toolkit has enum ProSelectionEnvAttr which alters behavior of interactive selection such as showing Ok/Cancel dialog box, requiring Ok-button-click to finish interactive selection process and so on.
This is how to limit a number of possible selections to 1:
Without seeing your dialog control loop it is impossible to tell what is 'On' state and what is 'Off' state.
BTW - Pro/Toolkit has enum ProSelectionEnvAttr which alters behavior of interactive selection such as showing Ok/Cancel dialog box, requiring Ok-button-click to finish interactive selection process and so on.