If I run the following script, Paraview crashes to the console with the error:<br>terminate called after throwing an instance of 'std::bad_alloc'<br> what(): St9bad_alloc<br>Aborted<br><br>As I said if I remove the line
<br> disp = paraview.CreateDisplay(line, activeView)<br>the script will complete correctly, but I would have to manual turn on each element<br>something that I want the script to do<br><br>#!/usr/bin/env python<br>import paraview
<br><br># Locate the view to which we'll add the "display". All views are<br># registered in the group "view_modules" with the proxy manager.<br>pxm = paraview.pyProxyManager()<br>iter = pxm.group_iter
("view_modules");<br>activeView = None<br>for proxy in iter:<br> if proxy.IsA("vtkSMRenderModuleProxy"):<br> activeView = proxy<br> break<br>if activeView:<br> for z in range (0, 10):<br> for y in range (0, 10):
<br> for cc in range (0, 10):<br> # create a display for the source in the active view.<br> line = paraview.CreateProxy("sources","LineSource","sources", "line.%d.%d.%d"%(cc,y,z))
<br> print cc, " ", y, " ", z<br> line.SetPoint1(cc,y,z)<br> line.SetPoint2(0,0,0)<br> line.UpdateVTKObjects();<br> disp = paraview.CreateDisplay(line, activeView);<br>
activeView.StillRender();<br><br><br><div><span class="gmail_quote">On 6/12/07, <b class="gmail_sendername">Utkarsh Ayachit</b> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm weird,<br><br>Here's my script to create a 1000 spheres. It seems to work just fine
<br>for me.<br><br>Can you post your script?<br><br>import paraview<br><br># Locate the view to which we'll add the "display". All views are<br># registered in the group "view_modules" with the proxy manager.
<br>pxm = paraview.pyProxyManager()<br>iter = pxm.group_iter("view_modules");<br>activeView = None<br>for proxy in iter:<br> if proxy.IsA("vtkSMRenderModuleProxy"):<br> activeView = proxy<br> break
<br>if activeView:<br> for z in range (0, 10):<br> for y in range (0, 10):<br> for cc in range (0, 10):<br> # create a display for the source in the active view.<br> sphere = \<br> paraview.CreateProxy
("sources","SphereSource","sources",<br> "sphere.%d.%d.%d"% (cc,y,z))<br> sphere.SetCenter(cc, y, z);<br> sphere.UpdateVTKObjects();<br> disp = paraview.CreateDisplay
(sphere, activeView);<br> activeView.StillRender();<br><br>Utkarsh<br><br>Robert Maynard wrote:<br>> Thank you for the reply. I tried something similar to this but by doing<br>> it this way:<br>><br>> renModule =
paraview.GetRenderModule()<br>> paraview.CreateDisplay(sphere, renModule):<br>><br>> The major problem I get is that for both of these ways to add the item<br>> to a Display proxy, is that while it works nicely for a small dataset.
<br>> When I try to create with python 200 sphere's, and 1000 lines. The python<br>> parser slows right down, and really slows down the render. It seems that<br>> this<br>> way extra display proxies are created, becuase when I try to save the
<br>> state, or close paraview<br>> I get the following error.<br>><br>> The program 'modpython' received an X Window System error.<br>> This probably reflects a bug in the program.<br>> The error was 'BadWindow (invalid Window parameter)'.
<br>> (Details: serial 366766 error_code 3 request_code 15 minor_code 0)<br>> (Note to programmers: normally, X errors are reported asynchronously;<br>> that is, you will receive the error a while after causing it.
<br>> To debug your program, run it with the --sync command line<br>> option to change this behavior. You can then get a meaningful<br>> backtrace from your debugger if you break on the gdk_x_error() function.)
<br>> vtkDebugLeaks has detected LEAKS!<br>> Class "vtkSMSourceProxy" has 1645 instances still around.<br>> Class "vtkSMPWriterProxy" has 8 instances still around.<br>> Class "vtkPVAxesActor" has 1 instance still around.
<br>> Class "vtkFixedPointVolumeRayCastCompositeHelper" has 129 instances<br>> still around.<br>> Class "vtkOpenGLScalarsToColorsPainter" has 273 instances still around.<br>> Class "pqPendingDisplayUndoElement" has 1 instance still around.
<br>> Class "vtkXOpenGLRenderWindow" has 1 instance still around.<br>> Class "vtkSMAxesProxy" has 1 instance still around.<br>> Class "vtkSMMaterialLoaderProxy" has 129 instances still around.
<br>> Class "pqOptions" has 1 instance still around.<br>> Class "vtkSMSimpleIntInformationHelper" has 13 instances still around.<br>> Class "vtkSMTimeStepsInformationHelper" has 17 instances still around.
<br>> Class "vtkSMEnumerationDomain" has 1884 instances still around.<br>> Class "vtkSMPropertyModificationUndoElement" has 1 instance still around.<br>> Class "vtkSMLODDisplayProxy" has 129 instances still around.
<br>> Class "vtkSelfConnection" has 2 instances still around.<br>> Class "vtkCellTypes" has 1 instance still around.<br>> Class "vtkPVXMLElement" has 29275 instances still around.<br>
> Class "vtkCellData" has 1494 instances still around.<br>> Class "vtkSMInputProperty" has 1948 instances still around.<br>> Class "vtkClientServerInterpreter" has 1 instance still around.
<br>> Class "vtkCollection" has 7512 instances still around.<br>> Class "vtkSMDoubleVectorProperty" has 4086 instances still around.<br>> Class "vtkSMExtentDomain" has 2 instances still around.
<br>> Class "vtkFrustumCoverageCuller" has 3 instances still around.<br>> Class "vtkPointsPainter" has 138 instances still around.<br>> Class "vtkCursor3D" has 4 instances still around.
<br>> Class "vtkInformationVector" has 8430 instances still around.<br>> Class "vtkSMDataTypeDomain" has 1283 instances still around.<br>> Class "vtkPVFileInformationHelper" has 2 instances still around.
<br>> Class "vtkSMIntArrayInformationHelper" has 2 instances still around.<br>> Class "vtkPerspectiveTransform" has 6 instances still around.<br>> Class "vtkPVTrackballZoom" has 3 instances still around.
<br>> Class "vtkSMMultiViewRenderModuleProxy" has 1 instance still around.<br>> Class "vtkOpenGLPainterDeviceAdapter" has 1 instance still around.<br>> Class "vtkPVTrackballRoll" has 1 instance still around.
<br>> Class "vtkPVOpenGLExtensionsInformation" has 1 instance still around.<br>> Class "vtkSMWriterProxy" has 12 instances still around.<br>> Class "vtkQuad" has 11 instances still around.
<br>> Class "vtkPointData" has 1623 instances still around.<br>> Class "vtkOpenGLDisplayListPainter" has 273 instances still around.<br>> Class "vtkSMXDMFInformationHelper" has 6 instances still around.
<br>> Class "vtkVectorText" has 3 instances still around.<br>> Class "vtkProperty2D" has 1 instance still around.<br>> Class "vtkPVUpdateSuppressor" has 387 instances still around.<br>
> Class "vtkPriorityQueue" has 129 instances still around.<br>> Class "vtkPointPlacer" has 4 instances still around.<br>> Class "vtkWidgetEventTranslator" has 4 instances still around.
<br>> Class "vtkCacheSizeKeeper" has 1 instance still around.<br>> Class "vtkPolygonsPainter" has 138 instances still around.<br>> Class "vtkCompositeDataPipeline" has 1420 instances still around.
<br>> Class "vtkFixedPointRayCastImage" has 129 instances still around.<br>> Class "vtkTrivialProducer" has 277 instances still around.<br>> Class "vtkProp3DCollection" has 4 instances still around.
<br>> Class "vtkQuadricClustering" has 129 instances still around.<br>> Class "vtkSMArraySelectionInformationHelper" has 139 instances still<br>> around.<br>> Class "vtkMatrix4x4" has 3316 instances still around.
<br>> Class "vtkFeatureEdges" has 129 instances still around.<br>> Class "vtkSphericalDirectionEncoder" has 129 instances still around.<br>> Class "vtkPVMain" has 1 instance still around.
<br>> Class "pqStateLoader" has 1 instance still around.<br>> Class "vtkSMFixedTypeDomain" has 1 instance still around.<br>> Class "vtkCoordinate" has 11 instances still around.<br>> Class "vtkBox" has 1 instance still around.
<br>> Class "vtkSMFileListDomain" has 104 instances still around.<br>> Class "vtkSMProxyGroupDomain" has 3509 instances still around.<br>> Class "vtkSMExtractLocationsProxy" has 1 instance still around.
<br>> Class "vtkFollower" has 3 instances still around.<br>> Class "vtkSimpleTransform" has 21 instances still around.<br>> Class "vtkDataSetSurfaceFilter" has 129 instances still around.
<br>> Class "vtkPVLODVolume" has 129 instances still around.<br>> Class "vtkSMStringVectorProperty" has 1637 instances still around.<br>> Class "vtkFiniteDifferenceGradientEstimator" has 129 instances still around.
<br>> Class "vtkDummyController" has 2 instances still around.<br>> Class "vtkEventQtSlotConnect" has 716 instances still around.<br>> Class "vtkSMDoubleRangeDomain" has 3888 instances still around.
<br>> Class "vtkSMProxyRegisterUndoElement" has 1 instance still around.<br>> Class "vtkPoints" has 644 instances still around.<br>> Class "vtkIntArray" has 1 instance still around.<br>
> Class "vtkEncodedGradientShader" has 129 instances still around.<br>> Class "vtkInformation" has 23589 instances still around.<br>> Class "vtkUnstructuredGridVolumeRayCastMapper" has 129 instances still
<br>> around.<br>> Class "vtkSMUpdateSuppressorProxy" has 388 instances still around.<br>> Class "vtkLine" has 46 instances still around.<br>> Class "vtkSMUndoStackUndoSet" has 908 instances still around.
<br>> Class "vtkSMProxyLink" has 1420 instances still around.<br>> Class "vtkSMCameraProxy" has 1 instance still around.<br>> Class "pqRenderViewProxy" has 1 instance still around.<br>
> Class "vtkActorCollection" has 7 instances still around.<br>> Class "vtkAxes" has 1 instance still around.<br>> Class "vtkSMPart" has 645 instances still around.<br>> Class "vtkPointHandleRepresentation3D" has 4 instances still around.
<br>> Class "vtkProcessModule" has 1 instance still around.<br>> Class "vtkLightKit" has 1 instance still around.<br>> Class "vtkSMViewModuleProxy" has 1 instance still around.<br>> Class "vtkSMPVAnimationSceneProxy" has 1 instance still around.
<br>> Class "vtkPVClassNameInformation" has 645 instances still around.<br>> Class "vtkUnstructuredGridBunykRayCastFunction" has 129 instances still<br>> around.<br>> Class "vtkSMDomainIterator" has 18999 instances still around.
<br>> Class "vtkVolumeCollection" has 3 instances still around.<br>> Class "vtkMultiThreader" has 387 instances still around.<br>> Class "vtkInteractorStyleRubberBandPick" has 1 instance still around.
<br>> Class "vtkPropCollection" has 9 instances still around.<br>> Class "vtkSMProxyManager" has 1 instance still around.<br>> Class "vtkOpenGLCoincidentTopologyResolutionPainter" has 273 instances
<br>> still around.<br>> Class "vtkOpenGLLightingPainter" has 273 instances still around.<br>> Class "vtkPolyData" has 1491 instances still around.<br>> Class "vtkGenericCell" has 133 instances still around.
<br>> Class "vtkLookupTable" has 1 instance still around.<br>> Class "vtkPVPythonInterpretor" has 1 instance still around.<br>> Class "vtkUnstructuredGridVolumeZSweepMapper" has 129 instances still
<br>> around.<br>> Class "vtkPVDataInformation" has 2704 instances still around.<br>> Class "vtkSMNumberOfGroupsDomain" has 4 instances still around.<br>> Class "vtkSelfConnectionUndoSet" has 925 instances still around.
<br>> Class "vtkCylinderSource" has 1 instance still around.<br>> Class "vtkSMBooleanDomain" has 4326 instances still around.<br>> Class "vtkSMSummaryHelperProxy" has 7 instances still around.
<br>> Class "vtkOrderedTriangulator" has 129 instances still around.<br>> Class "pqOutputWindowAdapter" has 1 instance still around.<br>> Class "vtkPVArrayInformation" has 3345 instances still around.
<br>> Class "vtkSMUpdateInformationUndoElement" has 1 instance still around.<br>> Class "vtkBiQuadraticQuad" has 4 instances still around.<br>> Class "vtkPiecewiseFunction" has 5 instances still around.
<br>> Class "vtkOpenGLRayCastImageDisplayHelper" has 387 instances still around.<br>> Class "vtkPainterPolyDataMapper" has 273 instances still around.<br>> Class "vtkPVCompositeDataInformation" has 2833 instances still around.
<br>> Class "vtkHexahedron" has 2 instances still around.<br>> Class "vtkActor2D" has 1 instance still around.<br>> Class "vtkPropPicker" has 1 instance still around.<br>> Class "vtkPVLODPartDisplayInformation" has 129 instances still around.
<br>> Class "vtkPVOptionsXMLParser" has 1 instance still around.<br>> Class "vtkTriQuadraticHexahedron" has 1 instance still around.<br>> Class "vtkOpenGLCamera" has 3 instances still around.
<br>> Class "vtkPVServerInformation" has 1 instance still around.<br>> Class "vtkSMArraySelectionDomain" has 137 instances still around.<br>> Class "vtkOpenGLActor" has 146 instances still around.
<br>> Class "vtkLineWidget2" has 1 instance still around.<br>> Class "vtkSMProxyListDomain" has 11 instances still around.<br>> Class "vtkSMFieldDataDomain" has 3 instances still around.
<br>> Class "vtkIdList" has 369 instances still around.<br>> Class "vtkWorldPointPicker" has 1 instance still around.<br>> Class "ProcessModuleGUIHelper" has 1 instance still around.
<br>> Class "vtkQuadraticLinearQuad" has 2 instances still around.<br>> Class "vtkSMPropertyLink" has 266 instances still around.<br>> Class "vtkConeSource" has 1 instance still around.
<br>> Class "vtkEmptyCell" has 133 instances still around.<br>> Class "vtkTStripsPainter" has 138 instances still around.<br>> Class "vtkOpenGLProjectedTetrahedraMapper" has 129 instances still around.
<br>> Class "vtkObserverMediator" has 1 instance still around.<br>> Class "vtkDoubleArray" has 783 instances still around.<br>> Class "vtkInformationDoubleValue" has 138 instances still around.
<br>> Class "vtkMatrixToLinearTransform" has 132 instances still around.<br>> Class "vtkDefaultPainter" has 273 instances still around.<br>> Class "vtkAlgorithmOutput" has 937 instances still around.
<br>> Class "vtkCullerCollection" has 3 instances still around.<br>> Class "vtkDataSetTriangleFilter" has 129 instances still around.<br>> Class "vtkOpenGLRenderer" has 3 instances still around.
<br>> Class "vtkCellCenterDepthSort" has 129 instances still around.<br>> Class "vtkInformationIntegerValue" has 36597 instances still around.<br>> Class "vtkSMInputArrayDomain" has 28 instances still around.
<br>> Class "vtkSMShrunkContoursProxy" has 1 instance still around.<br>> Class "vtkQuadraticTriangle" has 2 instances still around.<br>> Class "vtkOpenGLPolyDataMapper2D" has 1 instance still around.
<br>> Class "vtkOpenGLLight" has 7 instances still around.<br>> Class "vtkPVInteractorStyle" has 1 instance still around.<br>> Class "vtkSMUndoStack" has 2 instances still around.<br>
> Class "vtkSMArrayRangeDomain" has 7 instances still around.<br>> Class "vtkSMExtractSelectionProxy" has 4 instances still around.<br>> Class "vtkSMNumberOfPartsDomain" has 2 instances still around.
<br>> Class "vtkBiQuadraticQuadraticHexahedron" has 1 instance still around.<br>> Class "vtkUndoStack" has 1 instance still around.<br>> Class "vtkCellArray" has 147 instances still around.
<br>> Class "vtkSMProxyProperty" has 2490 instances still around.<br>> Class "vtkSMArrayListDomain" has 1052 instances still around.<br>> Class "vtkSMBoundsDomain" has 14 instances still around.
<br>> Class "vtkUnstructuredGrid" has 1 instance still around.<br>> Class "vtkQuadraticLinearWedge" has 1 instance still around.<br>> Class "vtkRendererCollection" has 1 instance still around.
<br>> Class "vtkStandardPolyDataPainter" has 552 instances still around.<br>> Class "vtkFixedPointVolumeRayCastMapper" has 129 instances still around.<br>> Class "vtkFixedPointVolumeRayCastMIPHelper" has 129 instances still around.
<br>> Class "vtkProcessModuleConnectionManager" has 1 instance still around.<br>> Class "vtkSMStringListDomain" has 144 instances still around.<br>> Class "pqProxyUnRegisterUndoElement" has 1 instance still around.
<br>> Class "pqCloseViewUndoElement" has 1 instance still around.<br>> Class "vtkPVRenderModuleHelper" has 1 instance still around.<br>> Class "vtkSMSimpleStringInformationHelper" has 11 instances still around.
<br>> Class "vtkHeap" has 258 instances still around.<br>> Class "vtkChooserPainter" has 273 instances still around.<br>> Class "vtkSMIntRangeDomain" has 1661 instances still around.
<br>> Class "pqHelperProxyRegisterUndoElement" has 1 instance still around.<br>> Class "vtkSMProxy" has 667 instances still around.<br>> Class "vtkWedge" has 2 instances still around.
<br>> Class "vtkSMSimpleDoubleInformationHelper" has 8 instances still around.<br>> Class "vtkPVGeometryFilter" has 129 instances still around.<br>> Class "vtkSMApplication" has 1 instance still around.
<br>> Class "vtkInformationStringValue" has 1449 instances still around.<br>> Class "vtkFloatArray" has 1054 instances still around.<br>> Class "vtkBiQuadraticQuadraticWedge" has 1 instance still around.
<br>> Class "vtkPVLODActor" has 129 instances still around.<br>> Class "vtkVolumeProperty" has 129 instances still around.<br>> Class "vtkInformationExecutivePortVectorValue" has 661 instances still
<br>> around.<br>> Class "vtkPVDataSetAttributesInformation" has 5666 instances still around.<br>> Class "vtkIdTypeArray" has 663 instances still around.<br>> Class "pqUndoStackBuilder" has 1 instance still around.
<br>> Class "vtkSMUndoRedoStateLoader" has 1 instance still around.<br>> Class "vtkTransform" has 1069 instances still around.<br>> Class "vtkSocketCollection" has 1 instance still around.
<br>> Class "vtkSMDocumentation" has 7783 instances still around.<br>> Class "vtkPVAxesWidget" has 1 instance still around.<br>> Class "vtkPVFileInformation" has 2 instances still around.
<br>> Class "vtkFixedPointVolumeRayCastCompositeShadeHelper" has 129 instances<br>> still around.<br>> Class "vtkSMNew3DWidgetProxy" has 1 instance still around.<br>> Class "vtkTriangle" has 15 instances still around.
<br>> Class "vtkEdgeTable" has 129 instances still around.<br>> Class "vtkOutlineSource" has 131 instances still around.<br>> Class "vtkOpenGLClipPlanesPainter" has 273 instances still around.
<br>> Class "vtkCollectionIterator" has 2 instances still around.<br>> Class "vtkOpenGLHAVSVolumeMapper" has 129 instances still around.<br>> Class "vtkLineRepresentation" has 1 instance still around.
<br>> Class "vtkFieldData" has 1497 instances still around.<br>> Class "pqSplitViewUndoElement" has 1 instance still around.<br>> Class "vtkQuadraticQuad" has 1 instance still around.
<br>> Class "vtkLODProp3D" has 129 instances still around.<br>> Class "vtkFixedPointVolumeRayCastCompositeGOShadeHelper" has 129<br>> instances still around.<br>> Class "vtkSMTimeRangeInformationHelper" has 2 instances still around.
<br>> Class "vtkPVAnimationScene" has 1 instance still around.<br>> Class "vtkOpenGLProperty" has 151 instances still around.<br>> Class "vtkSMInteractionUndoStackBuilder" has 1 instance still around.
<br>> Class "vtkTrackballPan" has 2 instances still around.<br>> Class "vtkSMIntVectorProperty" has 7770 instances still around.<br>> Class "vtkSMProxyUnRegisterUndoElement" has 1 instance still around.
<br>> Class "vtkSMIdTypeVectorProperty" has 14 instances still around.<br>> Class "vtkLineSource" has 3 instances still around.<br>> Class "vtkInformationDoubleVectorValue" has 1177 instances still around.
<br>> Class "vtkInformationKeyVectorValue" has 777 instances still around.<br>> Class "vtkUnsignedCharArray" has 134 instances still around.<br>> Class "vtkLightCollection" has 3 instances still around.
<br>> Class "vtkSphereSource" has 131 instances still around.<br>> Class "vtkEvent" has 32 instances still around.<br>> Class "vtkWidgetCallbackMapper" has 4 instances still around.<br>
> Class "vtkKWProcessStatistics" has 1 instance still around.<br>> Class "vtkLinesPainter" has 138 instances still around.<br>> Class "vtkPVGeometryInformation" has 129 instances still around.
<br>> Class "vtkPVProgressHandler" has 1 instance still around.<br>> Class "vtkStreamingDemandDrivenPipeline" has 438 instances still around.<br>> Class "vtkSMProperty" has 1054 instances still around.
<br>> Class "vtkSMXDMFPropertyDomain" has 2 instances still around.<br>> Class "vtkCellPicker" has 4 instances still around.<br>> Class "vtkUpdateSuppressorPipeline" has 387 instances still around.
<br>> Class "vtkOpenGLRepresentationPainter" has 273 instances still around.<br>> Class "vtkActor2DCollection" has 3 instances still around.<br>> Class "vtkGenericGeometryFilter" has 129 instances still around.
<br>> Class "vtkHandleWidget" has 3 instances still around.<br>> Class "vtkTimerLog" has 4211 instances still around.<br>> Class "vtkSMLODRenderModuleProxy" has 1 instance still around.
<br>> Class "vtkFixedPointVolumeRayCastCompositeGOHelper" has 129 instances<br>> still around.<br>> Class "vtkCommand or subclass" has 33652 instances still around.<br>> Class "vtkQuadraticEdge" has 13 instances still around.
<br>> Class "vtkMultiProcessControllerRMI" has 2 instances still around.<br>> Class "vtkInformationExecutivePortValue" has 937 instances still around.<br>> Class "vtkUndoSet" has 2 instances still around.
<br>> Class "vtkPVGenericRenderWindowInteractor" has 1 instance still around.<br>> Class "vtkPVTrackballRotate" has 3 instances still around.<br>><br>><br>><br>><br>> This problem does not happen, if I do not add the objects to the display
<br>> proxy, than after the script is over, I manually click on each one, and<br>> turn on its visibility.<br>><br>><br>><br>> On 6/12/07, *Utkarsh Ayachit* <<a href="mailto:utkarsh.ayachit@kitware.com">
utkarsh.ayachit@kitware.com</a><br>> <mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>>> wrote:<br>><br>> Hi Robert,<br>><br>> To make a source visible one needs to create what we call a "display"
<br>> for that source. "Display" is a proxy which encapsulates the<br>> vtkMapper,vtkActor etc. Once must create the display for the source and<br>> then add it to the render module in which we want to "see" the source.
<br>><br>> Here's the script that one can use to do the same:<br>><br>> import paraview<br>> sphere = paraview.CreateProxy("sources","SphereSource","sources")<br>
><br>><br>> # Locate the view to which we'll add the "display". All views are<br>> # registered in the group "view_modules" with the proxy manager.<br>> pxm = paraview.pyProxyManager
()<br>><br>> # Create a iterator that iterates over all proxies registered in<br>> # a particular group.<br>> iter = pxm.group_iter("view_modules");<br>> activeView = None<br>> for proxy in iter:
<br>> # Locate a 3D render view.<br>> if proxy.IsA("vtkSMRenderModuleProxy"):<br>> activeView = proxy<br>> break<br>> if activeView:<br>> # create a display for the source in the active view.
<br>> disp = paraview.CreateDisplay(sphere, activeView);<br>> # Trigger a render.<br>> activeView.StillRender();<br>><br>> Utkarsh<br>><br>><br>> Robert Maynard wrote:<br>
> > Currently I am stumped on how to turn on or off the visibility of<br>> items<br>> > from<br>> > inside the paraview console.<br>> ><br>> > Currently I am constructing Line and Sphere sources by doing
<br>> > sphere = paraview.CreateProxy("sources","SphereSource","sources")<br>> ><br>> > But these always are constructed with their visibility turned off. I<br>
> > have tried<br>> > getting the properties of these objects using the vtkSMProxy<br>> > ListMethods() but<br>> > that does not list it.<br>> ><br>> > What do I need to access to be able to control their visibility?
<br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------<br>><br>> ><br>> > _______________________________________________
<br>> > ParaView mailing list<br>> > <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a> <mailto:<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>><br>> >
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>><br></blockquote></div><br>