:orphan:
# DMPlexTransformSetFromOptions
Sets parameters in a transform from values in the options database
## Synopsis
```
#include "petscdmplextransform.h"
PetscErrorCode DMPlexTransformSetFromOptions(DMPlexTransform tr)
```
Collective
## Input Parameter
- ***tr -*** the `DMPlexTransform` object to set options for
## Options Database Key
- ***-dm_plex_transform_type -*** Set the transform type, e.g. refine_regular
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformView()`, `DMPlexTransformCreate()`
## Level
intermediate
## Location
src/dm/impls/plex/transform/interface/plextransform.c
## Examples
src/dm/impls/plex/tutorials/ex11.c
src/dm/label/tutorials/ex1.c
## Implementations
DMPlexTransformSetFromOptions_Extrude in src/dm/impls/plex/transform/impls/extrude/plextrextrude.c
DMPlexTransformSetFromOptions_1D in src/dm/impls/plex/transform/impls/refine/1d/plexref1d.c
DMPlexTransformSetFromOptions_BL in src/dm/impls/plex/transform/impls/refine/bl/plexrefbl.c
DMPlexTransformSetFromOptions_SBR in src/dm/impls/plex/transform/impls/refine/sbr/plexrefsbr.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/transform/interface/plextransform.c)
[Index of all DMPlex routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)