Click or drag to resize
SoROIManipReplaceNode Method

Replaces the tail of the path with this manipulator.

Namespace: OIV.LDM.Manips
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool ReplaceNode(
	SoPath p
)

Parameters

p
Type: OIV.InventorSoPath

Return Value

Type: Boolean
Remarks

The tail of the path must be an OIV.LDM.Nodes.SoROI node (or subclass thereof). If the path has a nodekit, this will try to use setPart() to insert the manipulator. Otherwise, the manipulator requires that the next-to-last node in the path chain be a group.

The field values from the ROI node will be copied to this manipulator, and the ROI node will be replaced.

The old node will disappear if it has no references other than from the input path p and its parent, since this manipulator will be replacing it in both of those places. Nor will the manipulator make any changes to field connections of the old node. The calling process is thus responsible for keeping track of its own nodes and field connections.

See Also