pycatia.knowledge_interfaces.units_sheet_setting_att¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.knowledge_interfaces.units_sheet_setting_att.UnitsSheetSettingAtt(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerUnitsSheetSettingAttThe interface to access a CATIAUnitsSheetSettingAtt.This interface may be used to read or modify in the CATIA/Tools/Option thesettings values of Units sheet.- commit_for_units() None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub CommitForUnits()Implements a function from an interface.See also:UnitsSheetSettingAtt.CommitForUnits
- Return type:
None
- property display_trailing_zeros: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DisplayTrailingZeros() As shortReturns or sets the DisplayTrailingZeros parameter.Role:Return or Set the DisplayTrailingZeros parameter if it is possible inthe current administrative context. In user mode this method will always returnE_FAIL.Parameters:oDisplayTrailingZerosLegal values:0 : to not display trailing zeros1 : to display trailing zeros.
- Return type:
int
- property exp_notation_values_greater: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ExpNotationValuesGreater() As doubleReturns or sets the ExpNotationValuesGreater parameter.Role:Return or Set the ExpNotationValuesGreater parameter if it is possiblein the current administrative context. In user mode this method will alwaysreturn E_FAIL.Parameters:oExpNotationValuesGreaterThe minimum value for exponential notation values.
- Return type:
float
- property exp_notation_values_lower: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ExpNotationValuesLower() As doubleReturns or sets the ExpNotationValuesLower parameter.Role:Return or Set the ExpNotationValuesGreater parameter if it is possiblein the current administrative context. In user mode this method will alwaysreturn E_FAIL.Parameters:oExpNotationValuesLowerThe maximum value for exponential notation values.
- Return type:
float
- get_decimal_read_only(i_magnitude_name: str, o_decimal_place_read_only: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetDecimalReadOnly(CATBSTR iMagnitudeName,double oDecimalPlaceReadOnly)Returns the number of decimals for ReadOnly number.
- Parameters:
i_magnitude_name (str) –
o_decimal_place_read_only (float) –
- Return type:
None
- get_decimal_read_write(i_magnitude_name: str, o_decimal_place_read_write: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetDecimalReadWrite(CATBSTR iMagnitudeName,double oDecimalPlaceReadWrite)Returns the number of decimals for ReadWrite number.
- Parameters:
i_magnitude_name (str) –
o_decimal_place_read_write (float) –
- Return type:
None
- get_dimensions_display_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetDimensionsDisplayInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the DimensionsDisplay settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_display_trailing_zeros_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetDisplayTrailingZerosInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves environment informations for the DisplayTrailingZerosparameter.Role:Retrieves the state of the DisplayTrailingZeros parameter in thecurrent environment.Parameters:ioAdminLevelIf the parameter is locked, AdminLevel gives the administrationlevel that imposes the value of the parameter.If the parameter is not locked, AdminLevel gives the administrationlevel that will give the value of the parameter after a reset.ioLockedIndicates if the parameter has been locked.Returns:Indicates if the parameter has been explicitly modified or remain tothe administrated value.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_exp_notation_values_greater_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetExpNotationValuesGreaterInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves environment informations for the ExpNotationValuesGreaterparameter.Role:Retrieves the state of the ExpNotationValuesGreater parameter in thecurrent environment.Parameters:ioAdminLevelIf the parameter is locked, AdminLevel gives the administrationlevel that imposes the value of the parameter.If the parameter is not locked, AdminLevel gives the administrationlevel that will give the value of the parameter after a reset.ioLockedIndicates if the parameter has been locked.Returns:Indicates if the parameter has been explicitly modified or remain tothe administrated value.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_exp_notation_values_lower_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetExpNotationValuesLowerInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves environment informations for the ExpNotationValuesLowerparameter.Role:Retrieves the state of the ExpNotationValuesLower parameter in thecurrent environment.Parameters:ioAdminLevelIf the parameter is locked, AdminLevel gives the administrationlevel that imposes the value of the parameter.If the parameter is not locked, AdminLevel gives the administrationlevel that will give the value of the parameter after a reset.ioLockedIndicates if the parameter has been locked.Returns:Indicates if the parameter has been explicitly modified or remain tothe administrated value.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_list_of_magnitudes_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetListOfMagnitudesInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves information about the ListOfMagnitudes settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_magnitude_values(i_magnitude_name: str, o_unit_name: str, o_decimal_place_read_write: float, o_decimal_place_read_only: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetMagnitudeValues(CATBSTR iMagnitudeName,CATBSTR oUnitName,double oDecimalPlaceReadWrite,double oDecimalPlaceReadOnly)Returns the Magnitude parameters.Ensure consistency with the C++ interface to which the work is delegated.
- Parameters:
i_magnitude_name (str) –
o_unit_name (str) –
o_decimal_place_read_write (float) –
o_decimal_place_read_only (float) –
- Return type:
None
- get_same_display_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetSameDisplayInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves environment informations for the SameDisplayparameter.Role:Retrieves the state of the SameDisplay parameter in the currentenvironment.Parameters:ioAdminLevelIf the parameter is locked, AdminLevel gives the administrationlevel that imposes the value of the parameter.If the parameter is not locked, AdminLevel gives the administrationlevel that will give the value of the parameter after a reset.ioLockedIndicates if the parameter has been locked.Returns:Indicates if the parameter has been explicitly modified or remain tothe administrated value.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- property list_of_magnitudes: tuple¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ListOfMagnitudes() As CATSafeArrayVariant (ReadOnly)Returns or sets the ListOfMagnitudes parameter.Ensure consistency with the C++ interface to which the work is delegated.
- Return type:
tuple
- property list_of_magnitudes_size: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ListOfMagnitudesSize() As double (Read Only)Returns or sets the ListOfMagnitudesSize parameter.Ensure consistency with the C++ interface to which the work is delegated.
- Return type:
float
- reset_to_admin_values_for_units() None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub ResetToAdminValuesForUnits()Implements a function from an interface.See also:UnitsSheetSettingAtt.ResetToAdminValuesForUnits
- Return type:
None
- rollback_for_units() None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub RollbackForUnits()Implements a function from an interface.See also:UnitsSheetSettingAtt.RollbackForUnits
- Return type:
None
- property same_display: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property SameDisplay() As shortReturns or sets the SameDisplay parameter.Role:Return or Set the SameDisplay parameter if it is possible in thecurrent administrative context. In user mode this method will always returnE_FAIL.Parameters:oSameDisplayLegal values:0 : to not display same display1 : to display same display.
- Return type:
int
- save_repository_for_units() None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SaveRepositoryForUnits()Implements a function from an interface.See also:UnitsSheetSettingAtt.SaveRepositoryForUnits
- Return type:
None
- set_dimensions_display_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetDimensionsDisplayLock(boolean iLocked)Locks or unlocks the DimensionsDisplay setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_display_trailing_zeros_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetDisplayTrailingZerosLock(boolean iLocked)Deprecated:V5R15. Use SetDimensionsDisplayLock. Locks or unlocks theDisplayTrailingZeros parameter.Role:Locks or unlocks the DisplayTrailingZeros parameter if it ispossible in the current administrative context. In user mode this method willalways return E_FAIL.Parameters:iLockedthe locking operation to be performed Legalvalues:TRUE : to lock the parameter.FALSE: to unlock the parameter.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_exp_notation_values_greater_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetExpNotationValuesGreaterLock(boolean iLocked)Deprecated:V5R15. Use SetSameDisplayLock. Locks or unlocks theExpNotationValuesGreater parameter.Role:Locks or unlocks the ExpNotationValuesGreater parameter if it ispossible in the current administrative context. In user mode this method willalways return E_FAIL.Parameters:iLockedthe locking operation to be performed Legalvalues:TRUE : to lock the parameter.FALSE: to unlock the parameter.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_exp_notation_values_lower_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetExpNotationValuesLowerLock(boolean iLocked)Deprecated:V5R15. Use SetDimensionsDisplayLock. Locks or unlocks theExpNotationValuesLower parameter.Role:Locks or unlocks the ExpNotationValuesLower parameter if it ispossible in the current administrative context. In user mode this method willalways return E_FAIL.Parameters:iLockedthe locking operation to be performed Legalvalues:TRUE : to lock the parameter.FALSE: to unlock the parameter.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_list_of_magnitudes_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetListOfMagnitudesLock(boolean iLocked)Locks or unlocks the ListOfMagnitudes setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_magnitude_values(i_magnitude_name: str, i_unit_name: str, i_decimal_place_read_write: float, i_decimal_place_read_only: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetMagnitudeValues(CATBSTR iMagnitudeName,CATBSTR iUnitName,double iDecimalPlaceReadWrite,double iDecimalPlaceReadOnly)Sets the Magnitude parameters.Ensure consistency with the C++ interface to which the work is delegated.
- Parameters:
i_magnitude_name (str) –
i_unit_name (str) –
i_decimal_place_read_write (float) –
i_decimal_place_read_only (float) –
- Return type:
None
- set_same_display_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetSameDisplayLock(boolean iLocked)Deprecated:V5R15. Use SetDimensionsDisplayLock. Locks or unlocks the SameDisplayparameter.Role:Locks or unlocks the SameDisplay parameter if it is possible inthe current administrative context. In user mode this method will always returnE_FAIL.Parameters:iLockedthe locking operation to be performed Legalvalues:TRUE : to lock the parameter.FALSE: to unlock the parameter.
- Parameters:
i_locked (bool) –
- Return type:
None