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

Replaces child with given index with new child.

Namespace: OIV.Inventor.Nodekits
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void ReplaceChild(
	int index,
	SoNode newChild
)

Parameters

index
Type: SystemInt32
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