← Back to team overview

yade-users team mailing list archive

Re: [Question #240738]: Solid sphere in ParaView

 

Question #240738 on Yade changed:
https://answers.launchpad.net/yade/+question/240738

Jan Stránský proposed the following answer:
Hi Bruno, thanks, save as -> *.py seems to be very useful :-) even if it
needs to be executed from paraview..
Jan


2014-02-17 13:56 GMT+01:00 Bruno Chareyre <
question240738@xxxxxxxxxxxxxxxxxxxxx>:

> Question #240738 on Yade changed:
> https://answers.launchpad.net/yade/+question/240738
>
> Bruno Chareyre posted a new comment:
> I just tried "save as -> *.py" in paraview. The result looks like a
> regular python script starting with soome imported paraview lib. My
> guess is it can be executed without paraview but it will need a bit more
> efforts (atm I am getting the error below).
>
> >>> execfile('paraview.py')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "paraview.py", line 2, in <module>
>     except: from paraview.simple import *
>   File "paraview.py", line 2, in <module>
>     except: from paraview.simple import *
> ImportError: No module named simple
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.