Generate PPGLogic code.
More...
|
| propType |
|
| globalCode |
|
| methods |
|
| value |
|
| refresh_method |
|
def gear.xsi.ppg.PPGLogic.__init__ |
( |
|
self, |
|
|
|
propType = "gear_PSet" |
|
) |
| |
Init method.
- Parameters
-
self | |
propType | String - Type of the property. This should always be sn_PSet, no need to set it. |
def gear.xsi.ppg.PPGLogic.addGlobalCode |
( |
|
self, |
|
|
|
code |
|
) |
| |
Add Global code to the logic.
For example to import modules. Code must be in Python.
- Parameters
-
def gear.xsi.ppg.PPGLogic.addMethod |
( |
|
self, |
|
|
|
name, |
|
|
|
code |
|
) |
| |
Add a method to the logic.
Code must be in Python.
- Parameters
-
def gear.xsi.ppg.PPGLogic.addOnChanged |
( |
|
self, |
|
|
|
paramName, |
|
|
|
code |
|
) |
| |
Add onchanged event to the logic.
Code must be in Python.
- Parameters
-
def gear.xsi.ppg.PPGLogic.addOnChangedRefresh |
( |
|
self, |
|
|
|
paramName |
|
) |
| |
Add onchanged event that refresh the PPG.
- Parameters
-
self | |
paramName | String - Parameter name. |
def gear.xsi.ppg.PPGLogic.addOnClicked |
( |
|
self, |
|
|
|
buttonName, |
|
|
|
code |
|
) |
| |
Add onClicked event to the logic.
Code must be in Python.
- Parameters
-
def gear.xsi.ppg.PPGLogic.getValue |
( |
|
self | ) |
|
Return the logic code as a string.
Code is in Python.
- Parameters
-
- Returns
- String - The logic.
The documentation for this class was generated from the following file:
- C:/datawork/__TECH__/GITHUB_REPOS/GEAR_mc/pythonlibs/gear/xsi/ppg.py