Interface ICamApiHandlerSelectionChanged
Handler for the geometry-model selection-changed event. Implement this interface (together with ICamApiEventHandler) on a plugin object and register it via ICAMAPIGeometryModel.RegisterHandler. SelectionChanged fires after the set of selected geometry tree nodes changes — both from interactive viewport picking and from programmatic Selected/DeselectAll calls. AddedNodes and RemovedNodes carry the FullName of the nodes that became / stopped being selected; resolve them via FindByFullName.
Namespace: CAMAPI.GeomModel
Assembly: CAMAPI.GeomModel.dll
Syntax
[Guid("59462ADE-78FA-469B-BBEF-9EB79BFF8767")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiHandlerSelectionChanged
Methods
SelectionChanged(string, IListString, IListString)
Called after the geometry selection changed.
Declaration
void SelectionChanged(string HandlerIdent, IListString AddedNodes, IListString RemovedNodes)
Parameters
| Type | Name | Description |
|---|---|---|
| string | HandlerIdent | |
| IListString | AddedNodes | |
| IListString | RemovedNodes |