The routine gEnqDXFEntities() returns the entity count of a DXF metafile whose file pointer has been passed in fp or unit. The file should have been opened using the routine gFopen().
An integer array of size n is also passed in which n entity type counts are returned. Up to 16 entity types are currently catered for and the counts are retunred in the following array element locations: