pycatia.system_interfaces.license_setting_att¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-09 09:53:18.676780
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.system_interfaces.license_setting_att.LicenseSettingAtt(setting_controller)¶
Note
CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerLicenseSettingAttInterface to handle the licensing settings.Role: This interface is implemented by a component which represents thecontroller of the static Licenses.To access this property page:Click the Options command in the Tools menuClick GeneralClick the Licensing Property PageThis interface defines:A method to set each LicenseA method to get the value of each LicenseA method to lock/unlock each parameterA method to retrieve the information concerning each parameter- property demo_mode¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property DemoMode() As booleanRetrieves or Sets the demo mode.Role: Retrieves or sets the value of the parameter describing if the demomode is active.
- Returns:
bool
- property frequency¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property Frequency() As floatRetrieves or Sets the contact frequency.Role: Retrieves or sets the value of the parameter describing the servercontact frequency in minutes. Note that a null value represents the maximumcontact frequency value. For more information about the range and maximum,refers to the Infrastructure documentation.
- Returns:
float
- get_demo_mode_info(io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetDemoModeInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the DemoMode settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- get_frequency_info(io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetFrequencyInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the Frequency settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- get_granted_licenses_list(i_default_licenses)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetGrantedLicensesList(long iDefaultLicenses) AsCATSafeArrayVariantDeprecated:V5R15 CATSysLicenseSettingAtt#GetLicensesList
- Parameters:
i_default_licenses (int) –
- Returns:
tuple
- get_license(i_license)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetLicense(CATBSTR iLicense) As CATBSTRRetrieves the value of the license.Role: Retrieves the mapping between a name of a license and the value ofthe license. The license does not need to be returned by GetLicensesList(). Butif the license is not installed the license will be“NotRequested”Parameters:iLicensethe name of the License: “PMG.prd”, “_MD2.slt+”, “_MD2.slt+GSD” forexample.“PMG.prd” represent the license of the productPMG.“_MD2.slt+” represent the license of the solutionMD2.“_MD2.slt+GSD” represent the license of the solution MD2, with theAddOn product GSD.Returns:the value of the License:NotRequested : License is not Requestedkey : the name of the license, the default available license has been chosen by the user.License is Requested.License Number : a specific license number has been chosen by the user. License is Requested.
- Parameters:
i_license (str) –
- Returns:
str
- get_license_info(i_license, io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetLicenseInfo(CATBSTR iLicense,CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the License setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_license (str) –
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- get_licenses_list(i_default_licenses)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetLicensesList(long iDefaultLicenses) AsCATSafeArrayVariantRetrieves the list of the requested or locked licenses.Role: Retrieves the list of the requested or locked licenses. There is noSetLicensesList() because the list is initialized usingLUM.Parameters:iDefaultLicensesIf iDefaultLicenses!=0 and the settings are empty, returns thedefault licenses, that is, the visible nodolocked licenses. If iDefaultLicenses== 0 and the settings are empty, returns the selected licenses (not yet stored,because not yet validated by OK button).Returns:The array of Licenses.character meaning in license name:“_”: internal notation for a license configuration“+”: you chose “Any license” mode, example of returned value:_ME1.slt+FS1When the return value is a serial number (_ME1.slt_SerialNumber), youhave chosen the “Explicit” license mode. In this case the add on product is notindicated in the license name.
- Parameters:
i_default_licenses (int) –
- Returns:
tuple
- get_licenses_list_info(io_admin_level, io_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetLicensesListInfo(CATBSTR ioAdminLevel,CATBSTR ioLock) As booleanRetrieves information about the LicensesList settingparameter.Role: Retrieves information about the LicensesList setting locking state(global lock for the LicensesList). It is used to get the lock status of theList of the Licenses. If the LicensesList is locked all the licenses arelocked. When the licenses are locked, it means that an administrator has lockedthe attribute. It does not means that an administrator has changed the value ofthe attribute. The value of the setting is not updatable because it refers to alock on a list. That is why the return value is false.Parameters:ioAdminLevel:Level of administrator.ioLock:Locked/Unlocked.Returns:FalseInformation returned in the dump:Parameter 1 : “Value taken in case of reset” : useless. Default value : “Default value”Parameter 2 : “Locking state” value : unlocked / locked / locked at Admin Level nParameter 3 : “Returned value” : useless, default value : FalseRefer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_lock (str) –
- Returns:
None
- get_nodelock_alert_info(io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetNodelockAlertInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the license expiry alert settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- get_server_time_out_info(io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetServerTimeOutInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the TimeOut setting parameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- get_show_license_info(io_admin_level, io_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetShowLicenseInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the ShowLicense settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Returns:
None
- property nodelock_alert¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property NodelockAlert() As longRetrieves or Sets the license expiry alert.Role: Retrieves or sets the value of the parameter describing the lthelicense expiry alertt in days. For more information about the range andmaximum, refers to the Infrastructure documentation.
- Returns:
int
- property server_time_out¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property ServerTimeOut() As floatRetrieves or Sets the server time out.Role: Retrieves or sets the value of the parameter describing the licensingserver time out in minutes. For more information about the range and maximum,refers to the Infrastructure documentation.
- Returns:
float
- set_demo_mode_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetDemoModeLock(boolean iLock)Locks or unlocks the DemoMode setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- set_frequency_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetFrequencyLock(boolean iLock)Locks or unlocks the Frequency setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- set_license(i_license, i_value)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetLicense(CATBSTR iLicense,CATBSTR iValue)Sets the License.Role: Sets the value of the license.Parameters:iLicensethe name of the License: “PMG.prd”, “_MD2.slt+”, “_MD2.slt+GSD” forexample.“PMG.prd” represent the license of the productPMG.“_MD2.slt+” represent the license of the solutionMD2.“_MD2.slt+GSD” represent the license of the solution MD2, with theAddOn product GSD.iValuethe value of the License:NotRequested : License is not Requestedkey : the name of the license, the default available license has been chosen by the user.License is Requested.License Number : a specific license number has been chosen by the user.License is Requested.
- Parameters:
i_license (str) –
i_value (str) –
- Returns:
None
- set_license_lock(i_license, i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetLicenseLock(CATBSTR iLicense,boolean iLock)Locks or unlocks the License setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_license (str) –
i_lock (bool) –
- Returns:
None
- set_licenses_list_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetLicensesListLock(boolean iLock)Locks or unlocks the LicensesList setting parameter.Role:Locks or unlocks the LicensesList setting parameter. Locks or unlocksthe parameter describing the list of installed licenses, if the operation isallowed in the current administrated environment. It is the global lock on allthe licenses. When the LicenseList is locked all the licenses are locked. Whenthe LicenseList is unlocked all the licenses are unlocked.Parameters:iLockthe locking operation to be performed:True: to lock the parameter.False: to unlock the parameter.Refer toSettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- set_nodelock_alert_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetNodelockAlertLock(boolean iLock)Locks or unlocks the license expiry alert settingparameter.Refer to SettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- set_server_time_out_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetServerTimeOutLock(boolean iLock)Locks or unlocks the TimeOut setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- set_show_license_lock(i_lock)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetShowLicenseLock(boolean iLock)Locks or unlocks the ShowLicense setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_lock (bool) –
- Returns:
None
- property show_license¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property ShowLicense() As booleanRetrieves or Sets the show license .Role: Retrieves or sets the value of the parameter describing the completelicense information. When the parameter is set, the user gets more informationabout the reason of the failure to request a license.
- Returns:
bool