Click or drag to resize
SoSpotLightManipReplaceManip Method

Replaces the tail of the path, which must be this manipulator, with the given OIV.Inventor.Nodes.SoSpotLight 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,
	SoSpotLight newOne
)

Parameters

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

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 spotlight 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