IFClite TypeScript API
    Preparing search index...

    Function extractViewpointState

    • Extract viewer state from a BCF viewpoint

      Parameters

      Returns {
          camera?: ViewerCameraState;
          coloredGuids: { color: string; guids: string[] }[];
          hiddenGuids: string[];
          sectionPlane?: ViewerSectionPlane;
          sectionPlanes?: ViewerSectionPlane[];
          selectedGuids: string[];
          visibleGuids: string[] | null;
      }

      • Optionalcamera?: ViewerCameraState
      • coloredGuids: { color: string; guids: string[] }[]
      • hiddenGuids: string[]
      • OptionalsectionPlane?: ViewerSectionPlane

        The first clipping plane (what a single-plane reader wants).

      • OptionalsectionPlanes?: ViewerSectionPlane[]

        Every clipping plane of the viewpoint, in order; a viewpoint with none has none.

      • selectedGuids: string[]
      • visibleGuids: string[] | null