IC8 Python API:RLPy RApplication
Contents
- 1 Description
- 2 Static Methods
- 2.1 RLPy.RApplication.GetApiMajorVersion()
- 2.2 RLPy.RApplication.GetApiMinorVersion()
- 2.3 RLPy.RApplication.GetApiVersion()
- 2.4 RLPy.RApplication.GetContentFilesInFolder(strFolder)
- 2.5 RLPy.RApplication.GetContentFoldersInFolder(strFolder)
- 2.6 RLPy.RApplication.GetCustomContentFolder(eFolderType)
- 2.7 RLPy.RApplication.GetCustomDataPath()
- 2.8 RLPy.RApplication.GetDefaultContentFolder(eFolderType)
- 2.9 RLPy.RApplication.GetDefaultProjectPath()
- 2.10 RLPy.RApplication.GetProductMajorVersion()
- 2.11 RLPy.RApplication.GetProductMinorVersion()
- 2.12 RLPy.RApplication.GetProductName()
- 2.13 RLPy.RApplication.GetProductVersion()
- 2.14 RLPy.RApplication.GetProgramPath()
- 2.15 RLPy.RApplication.GetTemplateDataPath()
- 3 Description
- 4 Constructor & Destructor
- 5 Member Functions
- 5.1 ExecuteSearchByImage (strImagePath)
- 5.2 ExecuteSearchByText (strSearchText)
- 5.3 GetApiMajorVersion ()
- 5.4 GetApiMinorVersion ()
- 5.5 GetApiVersion ()
- 5.6 GetContentFilesInFolder (strFolder)
- 5.7 GetContentFoldersInFolder (strFolder)
- 5.8 GetContentId (strFilePath)
- 5.9 GetCurrentProjectPath ()
- 5.10 GetCustomContentFolder (eFolderType)
- 5.11 GetCustomDataPath ()
- 5.12 GetDefaultContentFolder (eFolderType)
- 5.13 GetDefaultProjectPath ()
- 5.14 GetFilePathByContentID (strContentID)
- 5.15 GetProductEdition ()
- 5.16 GetProductMajorVersion ()
- 5.17 GetProductMinorVersion ()
- 5.18 GetProductName ()
- 5.19 GetProductVersion ()
- 5.20 GetProgramPath ()
- 5.21 GetSearchPaginationInfo ()
- 5.22 GetSearchResultCount ()
- 5.23 GetSearchResultSnapshot ()
- 5.24 GetTemplateDataPath ()
- 5.25 SetSearchContext (*args)
- 5.26 SetSearchPage (nPage)
- 5.27 WaitForSearchFinish (nTimeoutMs=10000)
- 6 Properties
- Main article: iC8 Modules.
- Last modified: 10/21/2026
Description
This class provides application-related API.
Static Methods
RLPy.RApplication.GetApiMajorVersion()
Get API major version.
Returns
API major version - int
1 api_major_version = RLPy.RApplication.GetApiMajorVersion()
2 print(api_major_version)
RLPy.RApplication.GetApiMinorVersion()
Get API minor version.
Returns
API minor version - int
1 api_minor_version = RLPy.RApplication.GetApiMinorVersion()
2 print(api_minor_version)
RLPy.RApplication.GetApiVersion()
Get the API version.
Returns
API version(major, minor, subversion) - int
1 api_version = RLPy.RApplication.GetApiVersion()
2 print(api_version)
3 if api_version < (2,0,0):
4 print("API 2.0 is still in development.")
RLPy.RApplication.GetContentFilesInFolder(strFolder)
Get absolute files in the template content folder.
Returns
Absolute files in template content folder - string
1 # No example
RLPy.RApplication.GetContentFoldersInFolder(strFolder)
Get relative folders in the template content folder.
Returns
Relative folders in template content folder - string
1 # No example
RLPy.RApplication.GetCustomContentFolder(eFolderType)
Get custom content folder path.
Returns
Custom content folder path - string
1 # No example
RLPy.RApplication.GetCustomDataPath()
Get the custom data path.
Returns
Custom data path - string
1 custom_data_path = RLPy.RApplication.GetCustomDataPath()
2 print(custom_data_path)
RLPy.RApplication.GetDefaultContentFolder(eFolderType)
Get the default template content folder relative path.
Returns
Default template content folder relative path - string
1 # No example
RLPy.RApplication.GetDefaultProjectPath()
Get the default project path.
Returns
Default project path - string
1 default_project_path = RLPy.RApplication.GetDefaultProjectPath()
2 print(default_project_path)
RLPy.RApplication.GetProductMajorVersion()
Get the product's major version.
Returns
Product major version - int
1 product_major_version = RLPy.RApplication.GetProductMajorVersion()
2 print(product_major_version)
RLPy.RApplication.GetProductMinorVersion()
Get the product's minor version.
Returns
Product minor version - int
1 product_minor_version = RLPy.RApplication.GetProductMinorVersion()
2 print(product_minor_version)
RLPy.RApplication.GetProductName()
Get product name.
Returns
Product name - string
1 product_name = RLPy.RApplication.GetProductName()
2 print(product_name)
RLPy.RApplication.GetProductVersion()
Get the product version.
Returns
Product version(major, minor, subversion) - int
1 product_version = RLPy.RApplication.GetProductVersion()
2 print(product_version)
3 if product_version < (8,0,0):
4 print("iClone 8 is still in development.")
RLPy.RApplication.GetProgramPath()
Get program path.
Returns
Program path - string
1 program_path = RLPy.RApplication.GetProgramPath()
2 print(program_path)
RLPy.RApplication.GetTemplateDataPath()
Get template data path.
Returns
Template data path - string
1 template_data_path = RLPy.RApplication.GetTemplateDataPath()
2 print(template_data_path)
Description
This class provides application-related API.
Constructor & Destructor
__init__ (self)
Initializes a new application instance.
Member Functions
ExecuteSearchByImage (strImagePath)
Execute a content search by image.
Parameters
- strImagePath
ExecuteSearchByText (strSearchText)
Execute a content search by text.
Parameters
- strSearchText
GetApiMajorVersion ()
Gets API major version.
GetApiMinorVersion ()
Gets API minor version.
GetApiVersion ()
Gets API version.
GetContentFilesInFolder (strFolder)
Returns the files contained in the specified content folder.
Parameters
- strFolder
GetContentFoldersInFolder (strFolder)
Returns the folders contained in the specified content folder.
Parameters
- strFolder
GetContentId (strFilePath)
Gets content ID.
Parameters
- strFilePath
GetCurrentProjectPath ()
Gets current project path.
GetCustomContentFolder (eFolderType)
Gets custom content folder path.
Parameters
- eFolderType
GetCustomDataPath ()
Gets custom data path.
GetDefaultContentFolder (eFolderType)
Gets default template content folder relative path.
Parameters
- eFolderType
GetDefaultProjectPath ()
Gets default project path.
GetFilePathByContentID (strContentID)
Resolve a content ID to a file path.
Parameters
- strContentID
GetProductEdition ()
Gets product edition.
GetProductMajorVersion ()
Gets product major version.
GetProductMinorVersion ()
Gets product minor version.
GetProductName ()
Gets product name.
GetProductVersion ()
Gets product version.
GetProgramPath ()
Gets program path.
GetSearchPaginationInfo ()
Gets pagination information for the current search context.
GetSearchResultCount ()
Gets the number of results for the current search context.
GetSearchResultSnapshot ()
Gets the current search result snapshot.
GetTemplateDataPath ()
Gets template data path.
SetSearchContext (*args)
Sets the current content manager search context.
Parameters
- args
SetSearchPage (nPage)
Sets the current search page.
Parameters
- nPage
WaitForSearchFinish (nTimeoutMs=10000)
Wait for the current content search to finish.
Parameters
- nTimeoutMs (default: 10000)
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.