Difference between revisions of "IC Python API:Table View"

From Reallusion Wiki!
Jump to: navigation, search
(Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} == Necessary Modules == Besides the fundamental Reallusion Python module, we'll also need Pyside2 to bu...")
 
m
Line 12: Line 12:
 
from PySide2.shiboken2 import wrapInstance
 
from PySide2.shiboken2 import wrapInstance
 
</syntaxhighlight>
 
</syntaxhighlight>
 
  
 
== Light Table Widget ==
 
== Light Table Widget ==

Revision as of 19:16, 15 December 2019

Main article: RL Python Samples.


Necessary Modules

Besides the fundamental Reallusion Python module, we'll also need Pyside2 to build the user interface. But we don't need the entire Pyside2 module for this simple example, so I'll just import QtWidgets for building the user interface and wrapInstance to bind the iClone dialog window to the Pyside2 interface.

import RLPy
from PySide2 import QtWidgets
from PySide2.shiboken2 import wrapInstance

Light Table Widget

Refresh Function