# SetRepresentationTo Surface and to Wireframe simultaneously

**URL:** https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055
**Category:** Support
**Created:** [June 24, 2021, 2:29am UTC](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055 "2021-06-24T02:29:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![windhair10](https://discourse.vtk.org/user_avatar/discourse.vtk.org/windhair10/32/3598_2.png) [@windhair10](https://discourse.vtk.org/u/windhair10)
#### Post date: [June 24, 2021, 2:29am UTC](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055/1 "2021-06-24T02:29:34Z")

</div>

A new VTker’s question, is it possible to set the representation to surface with wireframe simultaneously for a import stl file **strong text**? like following picture.

 ![20210624102731](https://discourse.vtk.org/uploads/default/original/2X/b/b69513970047a4f69aed7bc509f61107e46e04cd.png)

---

<div class="post-metadata">

### Author: ![andreasbuykx](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreasbuykx/32/8137_2.png) [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)
#### Post date: [June 24, 2021, 6:37am UTC](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055/2 "2021-06-24T06:37:52Z")

</div>

The following:

> actor-\>GetProperty()-\>SetRepresentationToSurface()  
> actor-\>GetProperty()-\>EdgeVisibilityOn()  
> actor-\>GetProperty()-\>SetEdgeColor(0,0,0)

gives you surface representation with all cell edges colored black

---

<div class="post-metadata">

### Author: ![windhair10](https://discourse.vtk.org/user_avatar/discourse.vtk.org/windhair10/32/3598_2.png) [@windhair10](https://discourse.vtk.org/u/windhair10)
#### Post date: [June 30, 2021, 11:49am UTC](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055/3 "2021-06-30T11:49:03Z")

</div>

Great, thanks, I missed the edge property.
