SoDraggerEnableValueChangedEvent Method |
You can temporarily disable a dragger's valueChangedCallbacks.
Namespace: OIV.Inventor.Draggers
The method returns a value that tells you if callbacks were already enabled. Use this method if you write a valueChanged delegateof your own and you change one of the dragger's fields within the delegate. (For example, when writing a delegateto constrain your dragger). Disable first, then change the field, then re-enable the callbacks (if they were enabled to start with). All this prevents you from entering an infinite loop of changing values, calling callbacks which change values, etc.