update input-field by Editing Logic Function

Toshimichi_Oda
Toshimichi_Oda OS Professional Posts: 62 PRO

In the feature script, a parameter 'myCount' is limited less than or equal to another parameter 'maxOfMyCount' by Editing Logic Function.

https://cad.onshape.com/documents/bbe6f3ebb09eeeb200d9910f/v/9b806f66e23d3aee383b311e/e/c668a5d31e04466e5c8ebe6b?renderMode=0&uiState=676647ee9e78ce632fb5fa42

When I change 'myCount' to be greater than 'maxOfMyCount' in the edit dialog, the input-field of 'myCount' is not updated by the Editing Logic Function. After then the field is locked to be unable to be changed by mouse-scroll-wheel. It keeps locked even after 'maxOfMyCount' is changed to bigger.

After closing edit dialog for save and re-open the edit dialog, the field of 'myCount' is updated to the real value.

I think this is a problem of UI while Editing Logic Function correctly updates the real value inside.

Important points are:

  1. The real value is different from one displayed in the field of edit dialog.
  2. Users may be confused by lock of mouse-scroll-wheel.

This problem may be related by

https://forum.onshape.com/discussion/18685/featurescript-editing-logic-function-does-not-update-length-parameter-in-feature-ui

But this linked document is now not public, so I cannot see it.

Comments