Click or drag to resize
SoNodeKitListPartReplaceChild Method (SoNode, SoNode)

Replaces first instance of given child with new child.

Namespace: OIV.Inventor.Nodekits
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void ReplaceChild(
	SoNode oldChild,
	SoNode newChild
)

Parameters

oldChild
Type: OIV.Inventor.NodesSoNode
newChild
Type: OIV.Inventor.NodesSoNode
Remarks

This is one of several functions used to edit the children. They parallel those of OIV.Inventor.Nodes.SoGroup, except that they always check the child types against those which are permissible. See OIV.Inventor.Nodes.SoGroup for details.

See Also