[ ENUM CLASS ] - Application list.
More...
|
def | listAttributes (cls, stringOnly=True, getValues=True, removeK=True, startAttrNamesLower=False) |
| List static public attributes of the class. More...
|
|
def | listAttributes (cls, stringOnly=True, getValues=True, removeK=True, startAttrNamesLower=False) |
| List static public attributes of the class. More...
|
|
def | listAttributeElements (cls, attribute) |
| List elements of a static public attribute. More...
|
|
def | getAttributeNameFromValue (cls, value, removeK=True, defaultAttributeName=None, startLower=False) |
| Get the name of the attribute for given value. More...
|
|
def | getValueFromAttributeName (cls, attribute, removeK=False, defaultValue=None) |
| Get value from attribute name. More...
|
|
def | asDict (cls, removeK=True) |
| Get all the attributes and their values in a dict instance. More...
|
|
[ ENUM CLASS ] - Application list.
◆ listAttributes()
def sApplication.parentApplicationLib.Application.listAttributes |
( |
|
cls, |
|
|
|
stringOnly = True , |
|
|
|
getValues = True , |
|
|
|
removeK = True , |
|
|
|
startAttrNamesLower = False |
|
) |
| |
List static public attributes of the class.
- Parameters
-
cls | [ object | None | in ] - Class object. |
stringOnly | [ bool | True | in ] - List attributes only with string values. |
getValues | [ bool | True | in ] - Get values of the attributes instead of their names. |
removeK | [ bool | True | in ] - Remove k character from the attribute names if getValues is provided False. |
startAttrNamesLower | [ bool | False | in ] - Start attribute names with lower case. |
- Exceptions
-
- Returns
- list of str - Names or values of the attributes.
◆ getCurrent()
def sApplication.parentApplicationLib.Application.getCurrent |
( |
| ) |
|
|
static |
Get current parent application if any.
- Exceptions
-
- Returns
- str - Name of the parent application from sApplication.parentApplication.Application enum class.
◆ kAll
string sApplication.parentApplicationLib.Application.kAll = 'all' |
|
static |
[ str ] - All applications.
◆ kHoudini
string sApplication.parentApplicationLib.Application.kHoudini = 'houdini' |
|
static |
◆ kKatana
string sApplication.parentApplicationLib.Application.kKatana = 'katana' |
|
static |
◆ kMari
string sApplication.parentApplicationLib.Application.kMari = 'mari' |
|
static |
◆ kMaya
string sApplication.parentApplicationLib.Application.kMaya = 'maya' |
|
static |
◆ kNuke
string sApplication.parentApplicationLib.Application.kNuke = 'nuke' |
|
static |
◆ kPhotoshop
string sApplication.parentApplicationLib.Application.kPhotoshop = 'photoshop' |
|
static |
◆ kStandalone
string sApplication.parentApplicationLib.Application.kStandalone = 'standalone' |
|
static |
◆ kZBrush
string sApplication.parentApplicationLib.Application.kZBrush = 'zbrush' |
|
static |
The documentation for this class was generated from the following file: