<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_ym18_1_1458552971690_23843"><span>Hi,</span></div><div id="yui_3_16_0_ym18_1_1458552971690_23867"><span><br></span></div><div id="yui_3_16_0_ym18_1_1458552971690_23844" dir="ltr"><span id="yui_3_16_0_ym18_1_1458552971690_23954" class="">Thank you for your email, I tried this expression  sum(alphawater*volume(input)) and it worked fine and gave me some logical results for some shapes that I know their volumes, but for the problem that I am working on, it gave me negative value for the volume. I am supposed to calculate the volume of a quarter of a cylinder with height 0.6 m and radius 0.3 m, so the volume should be V=(0.3*0.3*3.14*0.6)/4=0.04239 cubic meter, but  the annotation filter gave me this value -2639.95829243. I attached here two pictures that illustrate the dimensions of the cylinder and the value I got, I couldn't what is wrong.</span></div><div id="yui_3_16_0_ym18_1_1458552971690_23844" dir="ltr"><span class=""><br></span></div><div id="yui_3_16_0_ym18_1_1458552971690_23844" dir="ltr"><span class="" id="yui_3_16_0_ym18_1_1458552971690_25332">Regards,</span></div><div id="yui_3_16_0_ym18_1_1458552971690_23844" dir="ltr"><span class="">Islem Megdiche</span></div><span style="font-size: 11pt; line-height: 107%; font-family: Verdana, sans-serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" id="yui_3_16_0_ym18_1_1458552971690_24041" class=""></span><span style="font-size: 11pt; line-height: 107%; font-family: Verdana, sans-serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" id="yui_3_16_0_ym18_1_1458552971690_24036" class=""></span><span style="font-size: 11pt; line-height: 107%; font-family: Verdana, sans-serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" id="yui_3_16_0_ym18_1_1458552971690_24000" class=""></span><span style="font-size: 11pt; line-height: 107%; font-family: Verdana, sans-serif; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" id="yui_3_16_0_ym18_1_1458552971690_23872" class=""></span> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Le Dimanche 20 mars 2016 10h57, Cory Quammen <cory.quammen@kitware.com> a écrit :<br></font></div>  <br><br> <div class="y_msg_container">Thanks, Utkarsh.<br clear="none"><br clear="none">Indeed, replacing "alpha.water" with "alphawater" appears to work just fine.<br clear="none"><br clear="none">- Cory<br clear="none"><div class="yqt6020689518" id="yqtfd16596"><br clear="none">On Sat, Mar 19, 2016 at 7:23 PM, Utkarsh Ayachit<br clear="none"><<a shape="rect" ymailto="mailto:utkarsh.ayachit@kitware.com" href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br clear="none">>> The dot "." in the array name is causing problems. Because it is a Python expression, the interpreter thinks you are asking for an attribute "water" from a class or module.<br clear="none">><br clear="none">> FYI, ParaView uses paraview.make_name_valid()[1] function to sanitize<br clear="none">> array names in Python. Any character not a "_" or ASCII letter or<br clear="none">> number is simply dropped and if the name beings with a number, then a<br clear="none">> 'a' is prefixed.<br clear="none">><br clear="none">> [1] <a shape="rect" href="http://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/_modules/paraview/__init__.html#make_name_valid" target="_blank">http://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/_modules/paraview/__init__.html#make_name_valid</a></div><br clear="none"><br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Cory Quammen<br clear="none">R&D Engineer<br clear="none">Kitware, Inc.<div class="yqt6020689518" id="yqtfd89867"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>