[Paraview] using Point Sprite from python

Sergei D. sj2001 at yandex.ru
Sun Mar 7 05:00:12 EST 2010


Thanks!

07.03.2010 05:47, Utkarsh Ayachit:
> Just to close the loop on this one, this issue has been resolved in
> CVS, and will be included with 3.8.
> 
>>>> from paraview.simple import *
> paraview version 3.7.0, Date: 2010-03-05
>>>> LoadPlugin("/.../ParaView3Bin/bin/libCSCS_PointSprite_Plugin.dylib")
>>>> Sphere()
>>>> r = Show()
>>>> r.GetProperty("Representation").Available
> ['Outline', 'Points', 'Wireframe', 'Surface', 'Surface With Edges',
> 'Point Sprite']
> 
> Utkarsh
> 
> On Thu, Dec 10, 2009 at 10:04 AM, Sergei D. <sj2001 at yandex.ru> wrote:
>> Hi.
>> Please, tell me where can I find info about using plugins from python?
>> I use LoadPlugin() for ParaView-3.7 and for 3.6.2 but without result:
>> plugin is loaded without errors, but not visible:
>>
>> In [8]: LoadPlugin
>> ('/opt/ParaView-3-6-2-rc1/bin/plugins/CSCS_PointSprite_Plugin/libCSCS_PointSprite_Plugin.so',globals())
>>
>> In [9]: Sphere()
>> Out[9]: <paraview.servermanager.Sphere object at 0x1d9ab10>
>>
>> In [10]: dp=Show()
>> vtkSphereSource : [ ...........]
>>
>> In [11]: dp.GetProperty('Representation').Available
>> Out[11]: ['Outline', 'Points', 'Wireframe', 'Surface', 'Surface With Edges']
>>
>> I.e. Point Sprite representation is not available. Is this a bug or am I
>> doing something wrong?
>>
>> --
>> Best regards,
>> Sergei D.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
> 


-- 
Best regards,
Sergei D.


More information about the ParaView mailing list