# RaySelectionConfig

class Sc.RaySelectionConfig()

Properties

- `bimMask`

- `cullSuboptimalEntities`

- `enableOcclusionChecks`

- `enableProximityFaces`

- `ignoreCappingGeometry`

- `ignoreOverlays`

- `maxWorldDistance`

- `oneEntityPerTypePerInstance`

- `rejectionBitsAll`

- `rejectionBitsAny`

- `requiredBitsAll`

- `requiredBitsAny`

- `respectDepthRange`

- `respectVisibility`

- `restrictLinesAndPointsToSelectedFaceInstances`

- `restrictToOverlays`

- `returnElementBounding`

## Properties

RaySelectionConfig.bimMask
  Type

    BimMask optional

RaySelectionConfig.cullSuboptimalEntities
  Type

    boolean optional

  If true, selection will try to return only the most relevant entities.

  A face is considered suboptimal if any of the following hold:

    (*) The face is behind another selected face. (*) The face is selected by proximity and another face is selected at closer proximity.

  A line is considered suboptimal if:

    (*) The line is selected by proximity and another line is selected at closer proximity.

  A point is considered suboptimal if:

    (*) The point is selected by proximity and another point is selected at closer proximity.

RaySelectionConfig.enableOcclusionChecks
  Type

    boolean optional

RaySelectionConfig.enableProximityFaces
  Type

    boolean optional

RaySelectionConfig.ignoreCappingGeometry
  Type

    boolean optional

RaySelectionConfig.ignoreOverlays
  Type

    boolean optional

RaySelectionConfig.maxWorldDistance
  Type

    number optional

RaySelectionConfig.oneEntityPerTypePerInstance
  Type

    boolean optional

RaySelectionConfig.rejectionBitsAll
  Type

    number optional

RaySelectionConfig.rejectionBitsAny
  Type

    number optional

RaySelectionConfig.requiredBitsAll
  Type

    number optional

RaySelectionConfig.requiredBitsAny
  Type

    number optional

RaySelectionConfig.respectDepthRange
  Type

    boolean optional

RaySelectionConfig.respectVisibility
  Type

    boolean optional

RaySelectionConfig.restrictLinesAndPointsToSelectedFaceInstances
  Type

    boolean optional

RaySelectionConfig.restrictToOverlays
  Type

    boolean optional

RaySelectionConfig.returnElementBounding
  Type

    boolean optional