# Paste the properties from one source to another with python

**URL:** https://discourse.paraview.org/t/paste-the-properties-from-one-source-to-another-with-python/3400
**Category:** Development
**Tags:** python, vtk
**Created:** [January 24, 2020, 6:29pm UTC](https://discourse.paraview.org/t/paste-the-properties-from-one-source-to-another-with-python/3400 "2020-01-24T18:29:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alo\_gon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alo_gon/32/2426_2.png) [@alo\_gon](https://discourse.paraview.org/u/alo_gon)
#### Post date: [January 24, 2020, 6:29pm UTC](https://discourse.paraview.org/t/paste-the-properties-from-one-source-to-another-with-python/3400/1 "2020-01-24T18:29:37Z")

</div>

In ParaView I can copy the properties of a source and paste them in another source.

 ![Screen Shot 2020-01-24 at 15.26.48](https://discourse.paraview.org/uploads/default/original/2X/b/b1a3d4d5a26f4ea93ad8b242a1f5d9a1b84e6e76.png)  
I have been using the `Start Trace` functionality, but doesn’t seem to save this part.

How can I do that with Python?

I tried getting the DisplayProperties and paste them in the other source with no success.

```auto
# find source
initialize = FindSource('Initialize')

display = GetDisplayProperties(initialize, volumenView)

# find source
other = FindSource('Other')

```

Another thing I tried, was copying each property.

```auto
initialize = FindSource('Initialize')
SetActiveSource(initialize)
translate = GetProperty("Translate")
print(translate)

```

But in this example, all I get is `none`.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 27, 2020, 7:22am UTC](https://discourse.paraview.org/t/paste-the-properties-from-one-source-to-another-with-python/3400/2 "2020-01-27T07:22:42Z")

</div>

Indeed, the Copy/Paste mechanism is not properly traced, looks like a bug to me.  
[https://gitlab.kitware.com/paraview/paraview/issues/19621](https://gitlab.kitware.com/paraview/paraview/issues/19621)

In the meantime, you can copy them manually in Python.
