# How to use the SelectExamples

**URL:** https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756
**Category:** Support
**Tags:** python
**Created:** [June 17, 2022, 11:54am UTC](https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756 "2022-06-17T11:54:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Dwight98](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dwight98/32/5373_2.png) [@Dwight98](https://discourse.vtk.org/u/Dwight98)
#### Post date: [June 17, 2022, 11:54am UTC](https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756/1 "2022-06-17T11:54:59Z")

</div>

I want to use the SelectExamples to look through some examples about vtk class which i need,but i don’t know where can modify the vtk\_class and language,I ran the official example code directly and got the following error feedback:error: the following arguments are required: vtk\_class, language.  
so,what can i do

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [June 18, 2022, 10:52am UTC](https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756/2 "2022-06-18T10:52:09Z")

</div>

The two positional parameters that you must specify are the VTK class and language e,g. `vtkPolyData Cxx`, there are also some optional parameters.

---

<div class="post-metadata">

### Author: ![Dwight98](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dwight98/32/5373_2.png) [@Dwight98](https://discourse.vtk.org/u/Dwight98)
#### Post date: [June 23, 2022, 6:09am UTC](https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756/3 "2022-06-23T06:09:42Z")

</div>

> [@amaclean](#):
>
> ‎您必须指定的两个位置参数是 VTK 类和语言，例如，还有一些可选参数。‎

where i can specify they two in official example？（in python language）

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [June 23, 2022, 8:14am UTC](https://discourse.vtk.org/t/how-to-use-the-selectexamples/8756/4 "2022-06-23T08:14:04Z")

</div>

Try `vtkPolyData` and `Python` as parameters e.g.:

`python3 SelectExamples.py vtkPolyData Python`.

For help try:

`python3 SelectExamples.py -h`
