Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,782
    • Issues 1,782
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 68
    • Merge Requests 68
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #12360

Closed
Open
Opened Jul 11, 2011 by Kitware Robot@kwrobotOwner

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: paraview/paraview#12360