Click or drag to resize
SoDraggerEnableValueChangedEvent Method

You can temporarily disable a dragger's valueChangedCallbacks.

Namespace: OIV.Inventor.Draggers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool EnableValueChangedEvent(
	bool newVal
)

Parameters

newVal
Type: SystemBoolean

Return Value

Type: Boolean
Remarks

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.

See Also