[Paraview] Creating a reader: Problem with extension

Terry Jordan Terry.Jordan at sa.netl.doe.gov
Mon Jun 5 11:05:31 EDT 2006


I didnot notice what you had said.  This is NOT a folder, it is a file
without an extension.

Terry E. Jordan Jr.
SAIC
3610 Collins Ferry Road
Morgantown, WV 26505
terry.jordan at sa.netl.doe.gov
>>> "Berk Geveci" <berk.geveci at gmail.com> 06/02/06 2:53 PM >>>
I looked into it and there is no easy way of doing. The current dialog
does
not support switching between choosing directories and files. I think
the
best way of handling this is to choose a default extension like .of and
require that the users create it. The file may be empty. The reader can
handle the rest. There is always the fallback of choosing "All Files"
and
then controlDict and then from the list of readers that show up,
choosing
OpenFOAM reader.

-Berk

On 6/2/06, Terry Jordan <Terry.Jordan at sa.netl.doe.gov> wrote:
>
> I am working on a reader for OpenFOAM and encountering a problem.
> OpenFOAM is a group of files with no extensions.  The file I inital
open
> is called controlDict, so I used "controlDict" as my "extensions". 
This
> workaround allows me to see my files but if I just select it when
doing
> a file open I get an error (it tries to attach the first extensions in
> the Paraview files list) "File XXXX does not exist".  So I have to
> choose "OpenFOAM Files" in "Files of Type" which allows me to proceed
> and is followed by another error "Could not find an appropiate reader
> file XXXX. Would you like to manually select the reader of this
file?".
> >From here I can select my reader, again, and it does work, but this
is
> going to be a headache for any one who uses this.  I have asked the
> OpenFoam developers if the can add a file extension and they are
> unwilling.  Is there anyway this can be fixed on the paraview side?
>
> Terry E. Jordan Jr.
> SAIC
> 3610 Collins Ferry Road
> Morgantown, WV 26505
> terry.jordan at sa.netl.doe.gov
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>




More information about the ParaView mailing list