Click or drag to resize
SoWinViewerSetViewing Method

Sets whether the viewer is turned on or off.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetViewing(
	bool onOrOff
)

Parameters

onOrOff
Type: SystemBoolean
Remarks

When turned on, messages are consumed by the viewer. When viewing is off, messages are processed by the viewer's render area. This means messages will be sent down to the scene graph for processing (i.e. picking can occur). Note that if the application has registered a message delegate, it will be invoked on every message, whether viewing is turned on or not. However, the return value of this delegate(which specifies whether the delegatehandled the message or not) is ignored when viewing is on. That is, the viewer will process the message even if the delegatealready did. This is to ensure that the viewing paradigm is not broken (default viewing is on).

See Also