<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE-CH link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hi!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><br>
Forgot to tell that the PV version is 3.14.1.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><br>
Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Frank.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <b>On Behalf Of </b>Albina, Frank<br>
<b>Sent:</b> Donnerstag, 26. Juli 2012 10:26<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [Paraview] SurfaceLIC and python interface<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Dear All!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I am trying to run the SurfaceLIC representation under
pvbatch. From the python trace tool under the GUI, I could find the following
output which helps me setting the LIC intensity and LICStepSize:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>RenderView1
= GetRenderView()<o:p></o:p></span></i></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>DataRepresentation1
= Show()<o:p></o:p></span></i></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>DataRepresentation1.Representation
= 'Surface LIC'<o:p></o:p></span></i></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>DataRepresentation1.InterpolateScalarsBeforeMapping
= 0<o:p></o:p></span></i></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>DataRepresentation1.LICIntensity
= 1.0<o:p></o:p></span></i></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>DataRepresentation1.LICStepSize
= 0.25<o:p></o:p></span></i></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Unfortunately, doing the same within a
python script does not work, since I get :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><i><span lang=EN-US style='font-family:"Courier New"'>AttributeError:
Attribute LICIntensity does not exist.&nbsp; This class does not allow addition
of new attributes to avoid mistakes due to typos. Use add_attribute() if you
really want to add this attribute.<o:p></o:p></span></i></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The above attributes LICIntensity and
LICStepSize are not available from the python shell either, even after having
set the representation to 'Surface LIC'. &nbsp;I get the same issue either with
the Kitware binaries or those compiled by myself. Even forcing the load of the
SurfaceLIC plugin with &nbsp;</span><i><span lang=EN-US style='font-family:
"Courier New"'>paraview.servermanager.LoadPlugin(&quot;libSurfaceLIC.so&quot;)</span></i><span
lang=EN-US> does not solve the issue.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I am surely missing one step. Could someone
tell me which?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Thanks a lot in advance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Frank Albina.<o:p></o:p></span></p>

</div>

</body>

</html>