# Automatically load TTK upon ParaView's startup

**URL:** https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643
**Category:** ParaView Support
**Created:** [March 16, 2023, 9:07pm UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643 "2023-03-16T21:07:35Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kokebdese](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kokebdese/32/11182_2.png) [@kokebdese](https://discourse.paraview.org/u/kokebdese)
#### Post date: [March 16, 2023, 9:07pm UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/1 "2023-03-16T21:07:35Z")

</div>

I installed Paraview that integrates TTK plugin on windows 10 and check the box `Auto Load` in the `TopologyToolKit` entry. However, still it did’t automatically load TTK upon ParaView’s startup. Could you suggest me on how to solve this issue? Thank you!

---

<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: [March 17, 2023, 6:50am UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/2 "2023-03-17T06:50:07Z")

</div>

@Charles_Gueunet

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [March 17, 2023, 8:47am UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/3 "2023-03-17T08:47:41Z")

</div>

@kokebdese Does the plugin work when loaded manually ? Do you have another TTK installed on your setup ?

---

<div class="post-metadata">

### Author: ![kokebdese](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kokebdese/32/11182_2.png) [@kokebdese](https://discourse.paraview.org/u/kokebdese)
#### Post date: [March 17, 2023, 9:31am UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/4 "2023-03-17T09:31:20Z")

</div>

Hi, Charles and Mathieu,

Thank you for your reply  
Manually itself self not working. No, I do not have another TTK installed, I just removed all.

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [March 17, 2023, 10:27am UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/5 "2023-03-17T10:27:52Z")

</div>

Ok, this is the main issue then, the autoload fails because the load fails. Certainly a missing dependency (that should not be).  
Do you have any error message displayed when the plugins failed that you could share ?

---

<div class="post-metadata">

### Author: ![kokebdese](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kokebdese/32/11182_2.png) [@kokebdese](https://discourse.paraview.org/u/kokebdese)
#### Post date: [March 17, 2023, 11:08am UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/6 "2023-03-17T11:08:42Z")

</div>

Now, when I select load manually it shouldn’t display any error. Even when I close the ParaView and open it again and check at Manage plugins…it shows loaded (for TTK). Nevertheless, when I test with the data following ( Using the **File \> Load State** menu, and select the _dragon.pvsm_ entry inside _ttk-data/states_🙂 (as stated here: [https://www.kitware.com/adding-the-topology-toolkit-ttk-to-paraview/](https://www.kitware.com/adding-the-topology-toolkit-ttk-to-paraview/)) it will automatically shutdown the ParaView software without displaying any error and providing an result.

Thanks

---

<div class="post-metadata">

### Author: ![kokebdese](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kokebdese/32/11182_2.png) [@kokebdese](https://discourse.paraview.org/u/kokebdese)
#### Post date: [March 17, 2023, 1:27pm UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/7 "2023-03-17T13:27:56Z")

</div>

Now, what I noticed is that, from the " \*ttk-data/states" itself the ParaView with TTK plugin open some files. But, still when I tried to open files like “ctBones.pvsm”, “dragon.pvsm”, “hamonicSkeleton.pvsm”…after processing for a short seconds, it will close the ParaView app.

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [March 28, 2023, 12:56pm UTC](https://discourse.paraview.org/t/automatically-load-ttk-upon-paraviews-startup/11643/8 "2023-03-28T12:56:29Z")

</div>

Dear @kokebdese , sorry for the late reply.

The states files in the **ttk-data** repository are meant to be opened in command line, using:

```auto
paraview --state=states/dragon.pvsm

```

It should works out of the box this way, otherwise it should print an error in the terminal. Can you try this command ?
