Click or drag to resize
SoSplitGeometryActionSetKeepOriginalGeometry Method

By default, the action modifies the scene graph by replacing the original node it has split with a new separator containing all the new nodes.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetKeepOriginalGeometry(
	bool enable
)

Parameters

enable
Type: SystemBoolean
Remarks

The behavior can be changed by a call to this method. Instead of replacing the node with a separator, the original node is replaced with an OIV.Inventor.Nodes.SoSwitch node containing the original node and the separator containing all the new nodes. Each new OIV.Inventor.Nodes.SoSwitch node added in the scene graph is named "switchX" where X is the Xth object split. For instance, the first object split by the action will have a corresponding switch node named "switch0". Default is false.

See Also