# DMPlexTransformExtrudeGetLayers
Get the number of extruded layers. 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformExtrudeGetLayers(DMPlexTransform tr, PetscInt *layers)
```
Not collective


## Input Parameter

- ***tr  -*** The DMPlexTransform



## Output Parameter

- ***layers -*** The number of layers





## See Also
 `DMPlexTransformExtrudeSetLayers()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/extrudeplextrextrude.c.html#DMPlexTransformExtrudeGetLayers">src/dm/impls/plex/transform/impls/extrudeplextrextrude.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/transform/impls/extrudeplextrextrude.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
