[Paraview] [PV3] Ensight writer plugin problem
Renato N. Elias
rnelias at nacad.ufrj.br
Wed Apr 9 14:15:42 EDT 2008
Following the TiffWriter example, I tried to load the vtkEnsightWriter
writer as a plugin in PV3. It compiles and load in PV without any
problem but when I try to save an unstructured mesh using the plugin I
get the following error message:
ERROR: In ..\..\..\ParaView3_CVS\VTK\Parallel\vtkEnSightWriter.cxx, line
1154
vtkEnSightWriter (0960B878): Error opening
.//C:\Kitware\teste.0.00000.geo: Invalid argument
What am I doing wrong? I used a cube source meshed with the "Delaunay 3D
filter" as test and my xml files were defined with the following parameters:
<!-- GUIEnsightWriter.xml-->
<ParaViewWriters>
<Writer name="Ensight writer"
extensions="case"
file_description="Writes Ensight format">
</Writer>
</ParaViewWriters>
<!-- end of GUIEnsightWriter.xml-->
<!-- writers.xml (Server Manager side) -->
<ServerManagerConfiguration>
<ProxyGroup name="writers">
<WriterProxy name="EnsightWriter"
class="vtkEnsightWriter"
label="MyEnsightWriter">
<InputProperty name="Input" command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type" composite_data_supported="0">
<DataType value="vtkUnstructuredGrid"/>
</DataTypeDomain>
</InputProperty>
<Hints>
<Property name="Input" show="0"/>
<Property name="FileName" show="0"/>
<Property name="FileType" show="0"/>
</Hints>
</WriterProxy>
</ProxyGroup>
</ServerManagerConfiguration>
<!-- end of writers.xml -->
# CMakeLists.txt file
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})
ADD_PARAVIEW_PLUGIN(GUIEnsightWriter "1.0" GUI_RESOURCE_FILES
GUIEnsightWriter.xml)
ADD_PARAVIEW_PLUGIN(SMEnsightWriter "1.0" SERVER_MANAGER_XML writers.xml)
# end of CMakeLists.txt file
Regards
Renato.
More information about the ParaView
mailing list