[Paraview] Tcl: Accessing object DataArrays from proxies or vtkTemp objects?

Berk Geveci berk.geveci at gmail.com
Fri Jul 21 10:21:09 EDT 2006


You can't do this. TCL does not have direct access to data arrays. This is
because the data array may be in a server process.

-Berk

On 7/12/06, shawn mckenzie <shawn.mcknezie at gmail.com> wrote:
>
> Through TCL scripting I would like to access object attribute data arrays
> (eg point tcoords,  cell normal values, etc)
>
> From proxies i can only gain access to methods from the vtkSMProperty
> class and its descendants:
>
> [vtkTemp1102 GetProperty AddScalarVariable ] SetNumberOfElements 15
> [vtkTemp1102 GetProperty AddScalarVariable ] SetElement 1 0    .....
>
> but this simply lets me set new types, and return array names and types.
>
> Where is the attribute data array (vtkDataArray) stored within Paraview
> and
> can i gain access to this somehow to return attribute values point by
> point?
>
> Thank you in advance
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060721/9b85fdb9/attachment.htm


More information about the ParaView mailing list