RES: [Paraview] Saving configuration options...
Renato N. Elias
rnelias at superig.com.br
Wed May 18 13:47:59 EDT 2005
Jean
Thanks a lot, I've just compiled Paraview and changed the byte order default
according to your tip.
I think it would be very useful if Paraview could read some initialization
or script file where users (or Paraview itself) could set some options in
the future...
Renato
-----Mensagem original-----
De: Jean M. Favre [mailto:jfavre at cscs.ch]
Enviada em: quarta-feira, 18 de maio de 2005 04:00
Para: Renato N. Elias
Assunto: Re: [Paraview] Saving configuration options...
Renato N. Elias wrote:
> Hi all,
>
> I'd like to know if there's any way to save some filter options. I
> used to open files in Ensight binary format with Paraivew, but every
> time I open this kind of file I have to change the "byte order" field to
"little endian"
> because the default is "big endian" and it's too boring when you have
> several files to visualize.
>
> Thanks for any help
>
> Renato N. Elias
> NACAD/COPPE/UFRJ
> Rio de Janeiro/Brasil
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
If you know how to recompile the application, find the file called
readers.xml in the directory Servers/ServerManager/Resources in your own
file system
edit the file and look for the string EnSight
then a few lines below you will find these lines:
<IntVectorProperty
name="ByteOrder"
command="SetByteOrder"
number_of_elements="1"
default_values="1" >
<EnumerationDomain name="enum">
<Entry value="0" text="BigEndian"/>
<Entry value="1" text="LittleEndian"/>
</EnumerationDomain>
</IntVectorProperty>
just change the default value from 0 to 1 and recompile.
--
Dr. Jean M. Favre, email:favre @ cscs.ch
http://www.cscs.ch/about/Favre.php
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the ParaView
mailing list