<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word">Here is an example of a programmable filter vis XML that I want to simply print off the various file names or give me and ability to read the file series. I have this python programmable filter set up to work when I click File->Open in ParaView. I have the ability to then chose file series from the file prompt. How might I make a programmable filter via XML attributes so that it can handle file series.<div><div><br></div><div><div><ServerManagerConfiguration></div><div> <ProxyGroup name="sources"></div><div> <SourceProxy name="ListSeries" class="vtkPythonProgrammableFilter" label="List Series"></div><div> <Documentation</div><div> long_help=""</div><div> short_help=""></div><div> </Documentation></div><div> <Hints></div><div> <ShowInMenu category=“File Series Readers" /></div><div> </Hints></div><div> <Hints></div><div> <ReaderFactory extensions="dat txt"</div><div> file_description="list series" /></div><div> </Hints></div><div><br></div><div> <!-- Output data type: "vtkImageData" --></div><div> <IntVectorProperty command="SetOutputDataSetType"</div><div> default_values="6"</div><div> name="OutputDataSetType"</div><div> number_of_elements="1"</div><div> panel_visibility="never"></div><div> <Documentation>The value of this property determines the dataset type</div><div> for the output of the programmable filter.</Documentation></div><div> </IntVectorProperty></div><div><br></div><div><br></div><div><br></div><div> <StringVectorProperty</div><div> panel_visibility="default"</div><div> name="FileName"</div><div> label="FileName"</div><div> initial_string="FileName"</div><div> command="SetParameter"</div><div> animateable="1"</div><div> default_values="absolute path"</div><div> number_of_elements="1"></div><div> <FileListDomain name="files"/></div><div> <Documentation></Documentation></div><div> </StringVectorProperty></div><div><br></div><div> <StringVectorProperty</div><div> panel_visibility="default"</div><div> name="files"</div><div> label="files"</div><div> initial_string="files"</div><div> command="SetParameter"</div><div> animateable="1"</div><div> default_values="abs path"</div><div> number_of_elements="1"></div><div> <Documentation></Documentation></div><div> </StringVectorProperty></div><div><br></div><div> <StringVectorProperty</div><div> name="Script"</div><div> command="SetScript"</div><div> number_of_elements="1"</div><div> default_values="print(FileName)
print(files)
"</div><div> panel_visibility="advanced"></div><div> <Hints></div><div> <Widget type="multi_line" syntax="python"/></div><div> </Hints></div><div> <Documentation>This property contains the text of a python program that</div><div> the programmable source runs.</Documentation></div><div> </StringVectorProperty></div><div><br></div><div> <StringVectorProperty</div><div> name="InformationScript"</div><div> label="RequestInformation Script"</div><div> command="SetInformationScript"</div><div> number_of_elements="1"</div><div> default_values="print(FileName)
print(files)
"</div><div> panel_visibility="advanced"></div><div> <Hints></div><div> <Widget type="multi_line" syntax="python"/></div><div> </Hints></div><div> <Documentation>This property is a python script that is executed during</div><div> the RequestInformation pipeline pass. Use this to provide information</div><div> such as WHOLE_EXTENT to the pipeline downstream.</Documentation></div><div> </StringVectorProperty></div><div><br></div><div> </SourceProxy></div><div> </ProxyGroup></div><div></ServerManagerConfiguration></div></div><div><br></div></div></body></html>