pycatia.system_interfaces.dl_name_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.dl_name_setting_att.DlNameSettingAtt(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerDLNameSettingAttInterface to handle the DLNames.Role: This interface is implemented by a component which represents thecontroller of the DLNames.This interface defines:A method to set each DLNameA method to get the value of each DLNameA method to lock/unlock each parameterA method to retrieve the informations concerning eachparameter- property dl_name_creation_right¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property DLNameCreationRight() As booleanReturns or set the right to create new DLNames.Role: Retrieves or set the right to create new DLNames.
- Returns:
bool
- get_dl_name(i_dl_name, o_real_name_unix, o_real_name_nt, o_father)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub GetDLName(CATBSTR iDLName,CATBSTR oRealNameUnix,CATBSTR oRealNameNT,CATBSTR oFather)Retrieves the mapping between a logical name and the physicalpath.Role: Retrieves the mapping between a logical name and the physicalpath.Parameters:iDLNamethe logical name.oRealNameUnixthe real physical path corresponding to the logical name on Unix.oRealNameNTthe real physical path corresponding to the logical name onWindows.iFatherif applicable the Name of the parent DLNameReturns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
o_real_name_unix (str) –
o_real_name_nt (str) –
o_father (str) –
- Returns:
None
- get_dl_name_creation_right_info(admin_level, o_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetDLNameCreationRightInfo(CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves the state of the parameter DLNameCreationRight.Refer to SettingController for a detailed description.
- Parameters:
admin_level (str) –
o_locked (str) –
- Returns:
None
- get_dl_name_exp(i_dl_name, o_real_name_unix, o_real_name_nt, o_father)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub GetDLNameExp(CATBSTR iDLName,CATBSTR oRealNameUnix,CATBSTR oRealNameNT,CATBSTR oFather)Retrieves the mapping between a logical name and the physicalpath.Role: Retrieves the mapping between a logical name and the physical path ina literal form.Parameters:iDLNamethe logical name.oRealNameUnixthe real physical path corresponding to the logical name on Unix.oRealNameNTthe real physical path corresponding to the logical name onWindows.iFatherif applicable the Name of the parent DLNameReturns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
o_real_name_unix (str) –
o_real_name_nt (str) –
o_father (str) –
- Returns:
None
- get_dl_name_info(i_dl_name, admin_level, o_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetDLNameInfo(CATBSTR iDLName,CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves the state of the for a given DLName.Role: This information defines the state of the setting parameter and ismade up of:The administration level that sets the current value or the value usedto reset itThe administration level that has locked the settingparameter.A flag to indicate whether the setting parameter wasmodified.Parameters:iDLNamea DLname.ioAdminLevel[inout] The administration leve that defines the value used whenresetting the setting parameter.Legal values:Default value if the DLName has never been defined in theadministration concatenation.Admin Level n if the setting parameter has beenadministered,where n is an integer starting from 0 representing the rank ofthe administration level.ioLocked[inout] A character string to indicate whether the parameter islocked and the level of administration where the locking has beenproceeded.Legal values:Locked at Admin Level n if the setting parameter is locked bythen administration level n,where n is an integer starting from 0.Upper Locked if the setting parameter is locked by the currentadministration levelUnlocked if the setting parameter is notlockedReturns:True to indicate that the DLName value has been defined at the currentadministrator or user level. This is only possible with unlocked DLNames. Falsemeans that the DLName is inherited from theadministration.
- Parameters:
i_dl_name (str) –
admin_level (str) –
o_locked (str) –
- Returns:
None
- get_dl_name_list()¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetDLNameList() As CATSafeArrayVariantRetrieves the list of the DLNames.Role: Retrieves the list of the defined DLNames.Parameters:oTabDLNamea CATSafeArrayVariant of CATBSTR of nb elements.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Returns:
tuple
- get_dl_name_sub_list(i_dl_name)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetDLNameSubList(CATBSTR iDLName) AsCATSafeArrayVariantRetrieves the list of the Sub-DLNames.Role: Retrieves the list of the DLNames created in a givenDLName.Parameters:iDLNameThe Father DLName. if iDLName=NULL all DLNames created at the rootlevel are return.oNbDLnameThe number of defined DLNames.oTabDLNameThe array of DLNamesReturns:Legal values:S_OK : on SuccessE_OUTOFMEMORY: on allocation failureE_FAIL: on other failures
- Parameters:
i_dl_name (str) –
- Returns:
tuple
- get_root_dl_name_creation_right_info(admin_level, o_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Func GetRootDLNameCreationRightInfo(CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves the state of the parameterRootDLNameCreationRight.Refer to SettingController for a detailed description.
- Parameters:
admin_level (str) –
o_locked (str) –
- Returns:
None
- remove_dl_name(i_dl_name)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub RemoveDLName(CATBSTR iDLName)Remove a logical name.Role: Remove a DLName in the current set if it ispossible.Parameters:iDLNamethe logical name.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
- Returns:
None
- rename_dl_name(i_dl_name, i_new_name)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub RenameDLName(CATBSTR iDLName,CATBSTR iNewName)Rename an existing DLName.Role: Rename a DLName in the current set if it ispossible.Parameters:iDLNamethe logical name to rename.iNewNamethe new logical name.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
i_new_name (str) –
- Returns:
None
- property root_dl_name_creation_right¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780)
- o Property RootDLNameCreationRight() As booleanReturns or set the right to create new Root DLNames.Role: Retrieves or set the right to create new Root DLNames.
- Returns:
bool
- set_dl_name(i_dl_name, i_real_name_unix, i_real_name_nt, i_father, i_verif_directory)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetDLName(CATBSTR iDLName,CATBSTR iRealNameUnix,CATBSTR iRealNameNT,CATBSTR iFather,boolean iVerifDirectory)Sets the mapping between a logical name and the physicalpath.Role: Sets the value of the cache maximum size in MoParameters:iDLNamethe logical name.oRealNameUnixthe real physical path corresponding to the logical name on Unix.oRealNameNTthe real physical path corresponding to the logical name onWindows.iFatherif applicable the Name of the parent DLNameiVerifDirectoryif VerifDirectory is set the existence of the directory on thecurrent platform will be check.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
i_real_name_unix (str) –
i_real_name_nt (str) –
i_father (str) –
i_verif_directory (bool) –
- Returns:
None
- set_dl_name_creation_right_lock(i_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetDLNameCreationRightLock(boolean iLocked)Locks or unlocks the parameter DLNameCreationRight.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Returns:
None
- set_dl_name_lock(i_dl_name, i_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetDLNameLock(CATBSTR iDLName,boolean iLocked)Locks or unlocks the DLName.Role: Locks or unlocks the given DLName if the operation is allowed in thecurrent administrated environment. In user mode this method will always returnE_FAIL.Parameters:iDLnamethe DLname to be locked.iLockedthe locking operation to be performed Legalvalues:TRUE : to lock the parameter.FALSE: to unlock the parameter.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_dl_name (str) –
i_locked (bool) –
- Returns:
None
- set_root_dl_name_creation_right_lock(i_locked)¶
Note
- CAA V5 Visual Basic Help (2020-06-09 09:53:18.676780))
- o Sub SetRootDLNameCreationRightLock(boolean iLocked)Locks or unlocks the parameter RootDLNameCreationRight.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Returns:
None