View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012738 | ParaView | (No Category) | public | 2011-11-20 22:45 | 2012-05-10 09:46 | ||||
Reporter | zdxlj | ||||||||
Assigned To | Sebastien Jourdain | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012738: x3d exporter does not work in python script | ||||||||
Description | Following Codes work in version 3.8, but not in 3.12: exporters = servermanager.createModule("exporters") x3d = exporters.X3DExporter(View = view, FileName = "foo.x3d") x3d.Write() Error info is View is not an attribute of X3DExporter. If it is removed, there are no more errors , but the exporter do not write anything out. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0028582) Sebastien Jourdain (manager) 2012-05-10 09:45 |
from paraview.simple import * exporters=servermanager.createModule("exporters") source=Cone() view = GetActiveView() Show(view) render=Render() x3dExporter=exporters.X3DExporter(FileName="foo.x3d") x3dExporter.SetView(view) # <===== NEW LINE x3dExporter.Write() |
(0028583) Sebastien Jourdain (manager) 2012-05-10 09:46 |
View is not a property but a method on the proxy itself, therefore you need to call it as is. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-11-20 22:45 | zdxlj | New Issue | |
2012-05-10 09:45 | Sebastien Jourdain | Note Added: 0028582 | |
2012-05-10 09:46 | Sebastien Jourdain | Note Added: 0028583 | |
2012-05-10 09:46 | Sebastien Jourdain | Status | backlog => closed |
2012-05-10 09:46 | Sebastien Jourdain | Assigned To | => Sebastiennn Jourdain |
2012-05-10 09:46 | Sebastien Jourdain | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |