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.1.1.0 (2024.1.1)
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