Click or drag to resize
SoActionClearApplyResult Method

When applied, an action may reference nodes or create objects (e.g.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
public virtual void ClearApplyResult()
Remarks

OIV.Inventor.SoPath) that reference nodes. This is especially true for OIV.Inventor.Actions.SoSearchAction and OIV.Inventor.Actions.SoRayPickAction. These references will prevent the nodes from being destroyed and so may appear to be a "memory leak".

All references are cleared when the action is destroyed or re-applied. However it may be useful to clear them explicitly to remove references to nodes.

See Also