Paste multiple lines into the python shell is broken.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Linux, local server, master. Run ParaView. Tools/ Python Shell. Now, cut and paste the following into the shell. It doesn't work.
try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset()
Sphere1 = Sphere()
RenderView1 = GetRenderView() DataRepresentation1 = Show() DataRepresentation1.ScaleFactor = 0.1 DataRepresentation1.SelectionPointFieldDataArrayName = 'Normals' DataRepresentation1.EdgeColor = [0.0, 0.0, 0.5000076295109483]
RenderView1.CameraPosition = [0.0, 0.0, 3.2903743041222895] RenderView1.CameraClippingRange = [2.2624705610810665, 4.592229918684124] RenderView1.CameraParallelScale = 0.8516115354228021
Render()