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: 2024.2.2.0 (10.16.2.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