FeatureSelector

This topic provides you with information concerning the feature selector as well as information about its properties. A feature selector enables you to select objects in the tree or in a viewer (2D or 3D).

This page discusses:

See Also
In the Knowledge Base
How to filter the selection of a feature selector using and action?

Layout Design

Properties Description
Behavior
InitallyActive Enables you to order the selectors of a dialog box.
Targeted type Lets you specify targeted types of features. For example, you can enter CATCell to target CATCell features.
General
Enabled Defines whether the widget is enabled or not.
MultiSelection When set to true, enables the multi selection of objects in the dialog box.
Name Name of the dialog object. Also used to generate the C++ instance name of the widget.
Visible Sets whether the widget is visible or not.
Layout
AttachedToBottom Sets whether the widget is attached to the bottom side of the grid.
AttachedToleft Sets whether the widget is attached to the left side of the grid.
AttachedToRight Sets whether the widget is attached to the right side of the grid.
AttachedToTop Sets whether the widget is attached to the top of the grid.
ConstantHeight Sets whether the widget has a constant height.
ConstantWidth Sets whether the widget has a constant width.
Style
HideFrame Lets you decide to hide the frame or not.
Text Resources
Title Corresponds to the title or to the text content of the widget.

Knowledge Items

Items Description
Visibility Widget display.
Sensitivity Activation of the widget ( react to user interactions or not).
SelectionFilter String enabling you to restrict the selectable elements to a given type (for example Point).
SelectedFeature The selected feature.
FullSelectionPath CATPathElementAsInstance.
IsCurrentTarget Attribute that cannot be modified.

Events on FeatureSelector Description
FeaturePreSelected Add an action to this event to filter the selection of the feature selector. In this action, the PreSelectedFeature attribute determines the result of the feature selector.
  1. Click the Events tab and click FeaturePreSelected.
  2. Select Knowledge action and click OK.
  3. Enter the action script.
  4. Click OK and save.
  5. Deploy and launch your app.
FeatureSelected
FeatureUnselected