Click or drag to resize
SoTransformManipReplaceManip Method

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

Namespace: OIV.Inventor.Manips
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool ReplaceManip(
	SoPath p,
	SoTransform newOne
)

Parameters

p
Type: OIV.InventorSoPath
newOne
Type: OIV.Inventor.NodesSoTransform

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 transform node, and the manipulator will be replaced.

The manipulator 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