Syntax
[C/C++:]
void gEnqDXFLayers(GFILE *fp, char *layers[], int n, int *count, int total);
[F90:]
subroutine gEnqDXFLayers(unit, layers, n, count, total)
integer, intent(in) :: unit,n
character*(*), intent(out) :: layers(*)
integer, intent(out) :: count,total
Arguments
fp
GINO-C file pointer
unit
Fortran 90 File unit
layers
Character array containing list of layer names
n
Size of layers array
count
Number of layer names returned
total
Total number of layers in DXF file
Description
The routine gEnqDXFLayers() returns the list of layer names in a DXF metafile whose file pointer has been passed in
fp or
unit. The file should have been opened using the routine gFopen().
A character array of size
n is also passed in which the layer names are returned, with the actual number of names returned in
count. This value will always be less than or equal to
n, and therefore may not record all the layers available if
n is not large enough. The actual number of layers contained in the DXF file is returned in the argument
total.
See Also
gEnqDXFLayers UsagegEnqDXFLimitsgFopengOpenDXFFilegImportDXFSurface