IDSCLS   

Equivalent PK functions:

IDSCLS ( entys, contyp, conent, nitems, ifail )
===============================================

  Identify single connected entities of a list of entities.

    Can be called from the GO.

Receives:
  KI_tag_list_entity       *entys          --- entities to look in
  KI_cod_ty                *contyp         --- type of desired entity

Returns:
  KI_tag_list_entity       *conent         --- entities found
  KI_int_nitems            *nitems         --- Number of items returned
  KI_cod_error             *ifail          --- failure indicator

Specific errors:
  KI_bad_type_combn         bad type combination
  KI_general_body           general body
  KI_not_a_tag              not an entity

Description:
  IDSCLS is similar to IDCOEN except it returns one entity or NULTAG in 'conent'
  for every entity in the list 'entys'.  These entities may be from different
  parts.

  The valid combinations of the type of entities in 'entys' and 'contyp' can be
  found by examining the table given for the function IDCOEN; only those
  combinations marked by 1 or 1* are valid for IDSCLS.

  This function is not supported for general bodies.

  If, in the type combination table given with IDCOEN, the cell for the type
  combination given is marked other than 1 or 1*, KI_bad_type_combn will be
  returned in 'ifail'.