<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I used GUI to generate a python script from the actions of visualizing and h5part file. From GUI I can see the visualization, but when I use pvpython, this is the error I get:
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">fluid:~ armando$ /Applications/ArmandoApps/paraview.app/Contents/bin/pvpython</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Python 2.7.10 (default, Jul 14 2015, 19:46:27) </div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Type "help", "copyright", "credits" or "license" for more information.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">>>> armandoh5part = H5PartReader(FileName='/Users/—-snip--/accretionsim/build/armando.h5part')</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Traceback (most recent call last):</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> File "<stdin>", line 1, in <module></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">NameError: name 'H5PartReader' is not defined</div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">The H5Part plugin is enabled in GUI, thats how I was able to visualize and generate the script.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Do I have to load the plugin in pvpython ? If yes then how can I do that ?</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Regards</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Amit</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
</body>
</html>