Click or drag to resize
SoExtSelectionSetSelectionSceneGraph Method

Sets the scenegraph to be displayed as "lasso" in fast edit mode.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public virtual void SetSelectionSceneGraph(
	SoNode sceneGraph
)

Parameters

sceneGraph
Type: OIV.Inventor.NodesSoNode
Remarks

Note: This function is available only in FastEdit mode.

The geometry in this scene graph can be dynamically updated by the application as the user moves the cursor. See the methods OIV.Inventor.Nodes.SoExtSelection.StartSelectionCallback, OIV.Inventor.Nodes.SoExtSelection.MovingSelectionCallback, etc. This can useful to display dynamic feedback without actually doing selection. For example to display a "rubber band" line while positioning annotation or measurements.

Note: The geometry in this scene graph is not automatically used for selection! (It may not be appropriate.) The application can use the OIV.Inventor.Nodes.SoExtSelection.Select(OIV.Inventor.Nodes.SoNode, System.Int32, OIV.Inventor.SbVec2f[], OIV.Inventor.SbViewportRegion, System.Boolean) method, if desired, to do a selection using any set of 2D points defining a "lasso".

See Also