[Paraview] [EXTERNAL] Save Geometry form Python Shell
Cook, Rich
cook47 at llnl.gov
Mon Nov 18 20:02:01 EST 2013
When I did this for myself in my recent exploration my recollection is it's no help.
However, I did discover this:
exporters=servermanager.createModule("exporters")
view = GetActiveView()
for ts in range(12):
print "rendering timestep", ts
sys.stdout.flush()
RenderView2.ViewTime = 10.0 * ts
x3dExporter=exporters.X3DExporter(FileName="/Users/cook47/Desktop/foo%03d.x3d"%ts)
x3dExporter.SetView(RenderView2) # <===== NEW LINE
x3dExporter.Write()
RenderView2.RemoteRenderThreshold = 2.0
I got it off some old mailing list or something -- it works. For x3d. YMMV
On Nov 1, 2013, at 1:28 PM, "Scott, W Alan" <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
I just tried the directions I gave below, and this command is not correctly written using the Trace Recorder. This is a bug. Would you mind writing it up, or should I?
I don’t know the answer to your question, hopefully someone else on the list can help.
Please keep replies on the paraview list, so everyone can learn and participate.
Alan
From: Сергей Дмитриев [mailto:allrond1992 at rambler.ru<http://rambler.ru>]
Sent: Friday, November 01, 2013 12:53 PM
To: Scott, W Alan
Subject: RE: RE: [EXTERNAL] [Paraview] Save Geometry form Python Shell
I mean the Python's language command in the Python Shell.
I need a command, a similar call certain functions from the File -> Save Geometry
.
1.11.2013 20:13:30 пользователь Scott, W Alan (wascott at sandia.gov<mailto:wascott at sandia.gov>) написал:
Although I am not sure the command you want, let me tell you how to find it.
Run ParaView.
Tools/ Start Trace
Save some geometry (I assume you mean File/ Save Data)
Tools/ Stop Trace.
If that doesn’t work, we have a bug in ParaView. Please report it.
Thanks,
Alan
From: paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org> [mailto:paraview-bounces at paraview.org] On Behalf Of ?????? ????????
Sent: Friday, November 01, 2013 4:51 AM
To: Paraview
Subject: [EXTERNAL] [Paraview] Save Geometry form Python Shell
Hello!
How to Save Geometry form Python Shell?
What command text?
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131119/9e4c0d8c/attachment-0001.htm>
More information about the ParaView
mailing list