MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012581 | ParaView | (No Category) | public | 2011-09-08 01:11 | 2016-08-12 09:58 |
| Reporter | Raymond Cohen | ||||
| Assigned To | Cory Quammen | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | 3.10.1 | ||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Topic Name | |||||
| Type | incorrect functionality | ||||
| Summary | 0012581: servermanager.filters.Slice not available in pvpython | ||||
| Description | In a python shell I can access the "Slice" filter: ---------------- >>> dir(servermanager.filters) ['AMRContour', 'AMRDualClip', 'AlltoN', 'AnnotateTimeFilter', 'AppendAttributes', 'AppendDatasets', 'AppendGeometry', 'Balance', 'BlockScalars', 'CTHSurface', 'CacheKeeper', 'Calculator', 'CellCenters', 'CellDatatoPointData', 'Clean', 'CleantoGrid', 'ClientServerMoveData', 'Clip', 'ClipClosedSurface', 'ClipGenericDataset', 'ComputeDerivatives', 'Connectivity', 'ContingencyStatistics', 'Contour', 'ContourGenericDataset', 'ConvertSelection', 'Crop', 'Curvature', 'D3', 'Decimate', 'Delaunay2D', 'Delaunay3D', 'DescriptiveStatistics', 'Elevation', 'ExtractAMRBlocks', 'ExtractAttributes', 'ExtractBlock', 'ExtractCTHParts', 'ExtractCellsByRegion', 'ExtractEdges', 'ExtractGenericDatasetSurface', 'ExtractLevel', 'ExtractSelection', 'ExtractSelectioninternal', 'ExtractSubset', 'ExtractSurface', 'FFTOfSelectionOverTime', 'FOFSODHaloFinder', 'FeatureEdges', 'FlattenFilter', 'GenerateIds', 'GenerateQuadraturePoints', 'GenerateQuadratureSchemeDictionary', 'GenerateSurfaceNormals', 'GeometryFilter', 'Glyph', 'GlyphWithCustomSource', 'Gradient', 'GradientMagnitude', 'GradientOfUnstructuredDataSet', 'GridConnectivity', 'GroupDatasets', 'Histogram', 'ImageShrink', 'IntegrateVariables', 'InterpolatetoQuadraturePoints', 'IntersectFragments', 'IsoVolume', 'KMeans', 'LevelScalars', 'LinearExtrusion', 'LoopSubdivision', 'MPIMoveData', 'MaskPoints', 'MaterialInterfaceFilter', 'Median', 'MergeBlocks', 'MeshQuality', 'MinMax', 'MulticorrelativeStatistics', 'NormalGlyphs', 'OctreeDepthLimit', 'OctreeDepthScalars', 'OrderedCompositeDistributor', 'Outline', 'OutlineCorners', 'OutlineCurvilinearDataSet', 'OutlineGenericDataSet', 'ParticlePathlines', 'ParticleTracer', 'PlotData', 'PlotGlobalVariablesOverTime', 'PlotOnIntersectionCurves', 'PlotOnSortedLines', 'PlotOverLine', 'PlotSelectionOverTime', 'PointDatatoCellData', 'PolyLineToRectilinearGrid', 'PrincipalComponentAnalysis', 'ProbeLocation', 'ProcessIdScalars', 'ProgrammableFilter', 'PythonCalculator', 'QuadricClustering', 'RandomVectors', 'RectilinearGridConnectivity', 'RectilinearGridGeometryFilter', 'ReductionFilter', 'Reflect', 'ResampleWithDataset', 'Ribbon', 'RotationalExtrusion', 'ScatterPlot', 'Shrink', 'Slice', 'SliceGenericDataset', 'Smooth', 'StreamTracer', 'StreamTracerForGenericDatasets', 'StreamTracerWithCustomSource', 'Subdivide', 'SurfaceFlow', 'SurfaceVectors', 'TableFFT', 'TableToPoints', 'TableToStructuredGrid', 'TemporalCache', 'TemporalInterpolator', 'TemporalShiftScale', 'TemporalSnaptoTimeStep', 'TemporalStatistics', 'Tessellate', 'TessellateGenericDataset', 'Tetrahedralize', 'TextureMaptoCylinder', 'TextureMaptoPlane', 'TextureMaptoSphere', 'Threshold', 'Transform', 'TriangleStrips', 'Triangulate', 'Tube', 'UpdateSuppressor2', 'WarpByScalar', 'WarpByVector', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__'] >>> dir(servermanager.filters.Slice) ['CellData', 'FieldData', 'FileNameChanged', 'GetCellDataInformation', 'GetDataInformation', 'GetFieldDataInformation', 'GetPointDataInformation', 'GetProperty', 'GetPropertyValue', 'Initialize', 'InitializeFromProxy', 'Input', 'ListProperties', 'PointData', 'SetPropertyWithName', 'SliceOffsetValues', 'SliceType', 'UpdatePipeline', 'UpdatePipelineInformation', '_Proxy__ConvertArgumentsAndCall', '_Proxy__GetActiveCamera', '__class__', '__del__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattr__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__iter__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_attribute'] >>> ------------------------------------ But in a pvpython script it is unavailable: ------------------------------------ test.py: ------------------------------------ from paraview import servermanager # create a built-in connection if not servermanager.ActiveConnection: connection = servermanager.Connect() x = dir(servermanager.filters) print x x = dir(servermanager.filters.Slice) print x ------------------------------------ > pvpython test.py ['AMRDualClip', 'AMRDualContour', 'AllToN', 'Append', 'AppendAttributes', 'AppendPolyData', 'ArbitrarySourceGlyph', 'ArbitrarySourceStreamTracer', 'AttributeDataToTableFilter', 'Balance', 'BlockIdScalars', 'BrownianPoints', 'CTHPart', 'CTHSurface', 'CacheKeeper', 'Calculator', 'CellCenters', 'CellDataToPointData', 'CellDerivatives', 'CleanPolyData', 'CleanUnstructuredGrid', 'ClientServerMoveData', 'Clip', 'ClipClosedSurface', 'ContingencyStatistics', 'Contour', 'ConvertSelection', 'Curvatures', 'Cut', 'D3', 'DataSetSurfaceFilter', 'DataSetTriangleFilter', 'DecimatePro', 'Delaunay2D', 'Delaunay3D', 'DescriptiveStatistics', 'ElevationFilter', 'ExtractBlock', 'ExtractEdges', 'ExtractFieldDataOverTime', 'ExtractGeometry', 'ExtractGrid', 'ExtractHierarchicalDataSets', 'ExtractHierarchicalLevel', 'ExtractHistogram', 'ExtractSelection', 'ExtractSelectionOverTime', 'FFTSelectionOverTime', 'FeatureEdges', 'FlattenFilter', 'GenerateIdScalars', 'GenericClip', 'GenericContour', 'GenericCut', 'GenericGeometryFilter', 'GenericOutlineFilter', 'GenericStreamTracer', 'GenericTessellator', 'GeometryFilter', 'Glyph', 'Gradient', 'GradientMagnitude', 'GridConnectivity', 'GroupDataSets', 'HaloFinder', 'ImageClip', 'ImageShrink', 'IntegrateAttributes', 'IntegrateFlowThroughSurface', 'IntersectFragments', 'IsoVolume', 'KMeans', 'LevelIdScalars', 'LinearExtrusionFilter', 'LoopSubdivisionFilter', 'MPIMoveData', 'MaskPoints', 'MaterialInterfaceFilter', 'Median', 'MergeBlocks', 'MeshQuality', 'MinMax', 'MulticorrelativeStatistics', 'NormalGlyphs', 'OctreeDepthLimit', 'OctreeDepthScalars', 'OrderedCompositeDistributor', 'OutlineCornerFilter', 'OutlineFilter', 'PCAStatistics', 'PVConnectivityFilter', 'PVExtractSelection', 'ParticlePathLines', 'ParticleTracer', 'PlotAttributes', 'PlotOnIntersectionCurves', 'PlotOnSortedLines', 'PointDataToCellData', 'PolyDataNormals', 'PolyLineToRectilinearGrid', 'Probe', 'ProbeLine', 'ProbePoint', 'ProcessIdScalars', 'ProgrammableFilter', 'PythonCalculator', 'QuadraturePointInterpolator', 'QuadraturePointsGenerator', 'QuadratureSchemeDictionaryGenerator', 'QuadricClustering', 'RectilinearGridConnectivity', 'RectilinearGridGeometryFilter', 'ReductionFilter', 'ReflectionFilter', 'RibbonFilter', 'RotationalExtrusionFilter', 'ScatterPlot', 'ShrinkFilter', 'SmoothPolyDataFilter', 'StreamTracer', 'Stripper', 'StructuredGridOutlineFilter', 'Subdivide', 'SurfaceVectors', 'TableFFT', 'TableToPolyData', 'TableToStructuredGrid', 'TemporalCache', 'TemporalInterpolator', 'TemporalShiftScale', 'TemporalSnapToTimeStep', 'TemporalStatistics', 'TessellatorFilter', 'TextureMapToCylinder', 'TextureMapToPlane', 'TextureMapToSphere', 'Threshold', 'TimeToTextConvertor', 'TransformFilter', 'TriangleFilter', 'TubeFilter', 'UnstructuredGradient', 'UpdateSuppressor2', 'WarpScalar', 'WarpVector', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__'] Traceback (most recent call last): File "test.py", line 11, in <module> x = dir(servermanager.filters.Slice) AttributeError: 'PVModule' object has no attribute 'Slice' | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-09-08 01:11 | Raymond Cohen | New Issue | |||
| 2016-07-28 10:19 | Cory Quammen | Note Added: 0036640 | |||
| 2016-07-28 10:19 | Cory Quammen | Status | backlog => customer review | ||
| 2016-07-28 10:19 | Cory Quammen | Resolution | open => unable to reproduce | ||
| 2016-07-28 10:19 | Cory Quammen | Assigned To | => Cory Quammen | ||
| 2016-08-12 09:58 | Kitware Robot | Note Added: 0038068 | |||
| 2016-08-12 09:58 | Kitware Robot | Status | customer review => closed | ||
| 2016-08-12 09:58 | Kitware Robot | Resolution | unable to reproduce => moved | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||