Click or drag to resize
SoWinExaminerViewerAddFunctionKeyBinding Method

Adds a new function key binding to the viewer.

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 AddFunctionKeyBinding(
	SoKeyboardEventKeys key,
	SoWinExaminerViewerSoViewingFunction viewingFunc
)

Parameters

key
Type: OIV.Inventor.EventsSoKeyboardEventKeys
viewingFunc
Type: OIV.Inventor.Win.ViewersSoWinExaminerViewerSoViewingFunction
Remarks

This method allows you to associate a keyboard key with a viewing function, such as rotation or translation. The specified viewing function replaces any viewing function currently associated with the specified key. Any key may be used, not just "function keys".

A key cannot be associated with more than one viewing function at a time. However, more than one key can be associated with a single viewing function. For example, the S and T keys could each be used to invoke the seek operation.

See Also