# Populate a StringVector from a file

**URL:** https://discourse.paraview.org/t/populate-a-stringvector-from-a-file/4646
**Category:** Development
**Tags:** python
**Created:** [June 22, 2020, 7:16pm UTC](https://discourse.paraview.org/t/populate-a-stringvector-from-a-file/4646 "2020-06-22T19:16:06Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [June 23, 2020, 1:55am UTC](https://discourse.paraview.org/t/populate-a-stringvector-from-a-file/4646/2 "2020-06-23T01:55:40Z")

</div>

This is usually done with either a default value or a domain, which are the same in python or xml plugins.

See here :  
[https://kitware.github.io/paraview-docs/latest/cxx/PluginHowto.html](https://kitware.github.io/paraview-docs/latest/cxx/PluginHowto.html)

---

_[View the full topic](https://discourse.paraview.org/t/populate-a-stringvector-from-a-file/4646)._
