IC Python API:List All Props
From Reallusion Wiki!
Revision as of 22:33, 21 April 2019 by Chuck (RL) (Talk | contribs)
- Main article: RL Python Samples.
This article will focus on creating a drop down list for all of the existing props in the current iClone scene.
Necessary Modules
Get started by loading the required modules for the script.
import RLPy
from PySide2 import QtWidgets
from PySide2.shiboken2 import wrapInstance
We'll need RLPy to access iClone's Python API and Pyside2 related modules to create a functional interface.
Qt Widgets
The Qt Widgets module extends Qt GUI with C++ widget functionality. This is the building blocks for composing the user interface.
Shiboken
The Shiboken module can be used to access internal information related to Pyside's binding technology. Access to this internal information is required to integrate Pyside with Qt based programs that offer Python scripting like iClone or just for debug purposes.