In the Revit.ini file, the settings in the [Selection] section control the elements that are available for selection, and selection behavior.
Corresponds to the setting for Select Elements by Face on the status bar.
Type = integer
Valid values: 0 = Off, 1 = On
Corresponds to the setting for Select Links on the status bar.
Type = integer
Valid values: 0 = Off, 1 = On
Corresponds to the setting for Select Pinned Elements on the status bar.
Type = integer
Valid values: 0 = Off, 1 = On
Corresponds to the setting for Drag Elements on Selection on the status bar.
Type = integer
Valid values: 0 = Off, 1 = On
Corresponds to the setting for Select Underlay Elements on the status bar.
Type = integer
Valid values: 0 = Off, 1 = On
[Selection] AllowFaceSelection=1 AllowLinkSelection=0 AllowPinnedSelection=1 AllowPressAndDrag=0 AllowUnderlaySelection=0