Difference between revisions of "IC Python API:List All Props"

From Reallusion Wiki!
Jump to: navigation, search
(Created page with "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 m...")
 
m
Line 1: Line 1:
 +
{{TOC}}
 +
{{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}}
 +
 
This article will focus on creating a drop down list for all of the existing props in the current iClone scene.
 
This article will focus on creating a drop down list for all of the existing props in the current iClone scene.
  

Revision as of 22:33, 21 April 2019

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.