SoCallbackActionAddPreCallback Method |
Adds a callback function to call when a node of the given type is encountered during traversal.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void AddPreCallback(
Type type,
SoCallbackActionCallbackActionCB cb
)
Public Sub AddPreCallback (
type As Type,
cb As SoCallbackActionCallbackActionCB
)
public:
void AddPreCallback(
Type^ type,
SoCallbackActionCallbackActionCB^ cb
)
member AddPreCallback :
type : Type *
cb : SoCallbackActionCallbackActionCB -> unit
Parameters
- type
- Type: SystemType
- cb
- Type: OIV.Inventor.ActionsSoCallbackActionCallbackActionCB
Remarks The PreCallback is called just before the node is traversed, and the PostCallback is called just after. The value returned by a callback function indicates whether the action should continue with the traversal.
See Also