[Paraview] Setting Source Object Attributes using a Python Script
Kent Eschenberg
eschenbe at psc.edu
Wed Mar 5 21:25:23 EST 2008
If "src1" is the line itself then I think I see the problem.
The concept here is that a "shape" exists independently of the
"representation" of the shape. Here, the shape is a line but it could be
a surface, a solid, text, etc. Each shape has many representations and
that is where the properties of line thickness and color come in. Take a
look at the representation created for that line.
Kent
Pittsburgh Supercomputing Center
Olumide wrote:
> I've tried the ListProperties method. It has only two attributes:
>
> >>> src1.ListProperties()
> ['FileNames', 'TimestepValues']
>
> >>> for prop in src1:
> ... print prop
> ...
> Property name= FileNames value = ['D:/Data/Model.vtk']
> Property name= TimestepValues value = []
>
> Is there any other way to set the color and line thickness of a polyline?
>
> Thanks,
>
> - Olumide
More information about the ParaView
mailing list