Click or drag to resize
SoROIManipReplaceManip Method

Replaces the tail of the path, which must be this manipulator, with the given OIV.LDM.Nodes.SoROI node.

Namespace: OIV.LDM.Manips
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool ReplaceManip(
	SoPath p,
	SoROI newOne
)

Parameters

p
Type: OIV.InventorSoPath
newOne
Type: OIV.LDM.NodesSoROI

Return Value

Type: Boolean
Remarks

If the path has a nodekit, this will try to use setPart() to insert the new node. Otherwise, the manipulator requires that the next-to-last node in the path chain be a group.

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

It will not make any changes to field connections. The calling process is thus responsible for keeping track of its own nodes and field connections.

See Also