SoNodeKitListPartReplaceChild Method (SoNode, SoNode) |
Replaces first instance of given child with new child.
Namespace: OIV.Inventor.NodekitsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic void ReplaceChild(
SoNode oldChild,
SoNode newChild
)
Public Sub ReplaceChild (
oldChild As SoNode,
newChild As SoNode
)
public:
void ReplaceChild(
SoNode^ oldChild,
SoNode^ newChild
)
member ReplaceChild :
oldChild : SoNode *
newChild : SoNode -> unit
Parameters
- oldChild
- Type: OIV.Inventor.NodesSoNode
- newChild
- Type: OIV.Inventor.NodesSoNode
RemarksThis is one of several functions used to edit the children. They parallel those of SoGroup, except that they always check the child types against those which are permissible. See SoGroup for details.
See Also