| 
 
 ISelection_KC InterfaceGives access to set of selected items in the scene. In the initial implementation 
        this interface was added to enable highlighting of subshapes of bspline brep 
        objects. See also Shape Explorer Sample 
GetSelectedItemsSetSelectedClearSelectionCloseContext 
 HRESULT GetSelectedItems(IArray* items) Parameters items  -[out,retval] Currently selected items. The actual 
    type is IObject_KC 
Remarks:
 The method returns the array of currently selected items. The elements of the array implement IObject_KC  
 HRESULT SetSelected(IObject_KC* item, VARIANT_BOOL selected) Parameters item-[in] interface queried from the item to be added to the current selection 
Remarks:
 Makes the item selected and highlighted in the scene.  
 HRESULT ClearSelection() Removes all items from the selected items array  
 HRESULT CloseContext() DDeletes the selection array. Should be called to free memory when selection functionality is no longer needed. 
The array is created when ISelection_KC is obtained for the first time 
 |