Plugin load order hides Surface LIC attributes in python
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
From a python script, the order in which the plugins are loaded affects the presence of LIC attributes. If the LIC plugin is loaded before other plugins the attributes are present. If it is loaded after then it's attributes aren't present.
The following python script illustrates the issue when run with pvbatch
-- coding: utf-8 --
try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset()
slacPluginPath = '/work/ext/ParaView/PV3-3.10.0/bin/libSLACTools.so' licPluginPath = '/work/ext/ParaView/PV3-3.10.0/bin/libSurfaceLIC.so'
showBug = 1
if (showBug):
LoadPlugin(slacPluginPath, False, globals()) LoadPlugin(slacPluginPath, False, globals())
LoadPlugin(licPluginPath, False, globals()) LoadPlugin(licPluginPath, True, globals())
else:
LoadPlugin(licPluginPath, False, globals()) LoadPlugin(licPluginPath,True,globals())
LoadPlugin(slacPluginPath, False, globals()) LoadPlugin(slacPluginPath, False, globals())
Cone() rep = Show() rep.LICStepSize = 12