pycatia.knowledge_interfaces.tolerance_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.tolerance_sheet_setting_att.ToleranceSheetSettingAtt(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
System.SettingController
ToleranceSheetSettingAtt

The interface to access a CATIAToleranceSheetSettingAtt.
This interface may be used to read or modify in the CATIA/Tools/Option the
settings values of Tolerance sheet.
property angle_max_tolerance: float

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property AngleMaxTolerance() As double

Returns or sets the AngleMaxTolerance parameter.
Role:Return or Set the AngleMaxTolerance parameter if it is possible in the
current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

oAngleMaxTolerance
The angle maximum tolerance value.
Return type:

float

property angle_min_tolerance: float

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property AngleMinTolerance() As double

Returns or sets the AngleMinTolerance parameter.
Role:Return or Set the AngleMinTolerance parameter if it is possible in the
current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

oAngleMinTolerance
The angle minimum tolerance value.
Return type:

float

property default_tolerance: int

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property DefaultTolerance() As short

Returns or sets the DefaultTolerance parameter.
Role:Return or Set the DefaultTolerance parameter if it is possible in the
current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

oDefaultTolerance
Legal values:
0 : to not accept a default tolerance
1 : to accept a default tolerance.
Return type:

int

get_angle_max_tolerance_info(io_admin_level: str, io_locked: str) bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func GetAngleMaxToleranceInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves environment informations for the AngleMaxTolerance
parameter.
Role:Retrieves the state of the AngleMaxTolerance parameter in the current
environment.

Parameters:

ioAdminLevel

If the parameter is locked, AdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, AdminLevel gives the administration
level that will give the value of the parameter after a reset.

ioLocked
Indicates if the parameter has been locked.

Returns:
Indicates if the parameter has been explicitly modified or remain to
the administrated value.
Parameters:
  • io_admin_level (str) –

  • io_locked (str) –

Return type:

bool

get_angle_min_tolerance_info(io_admin_level: str, io_locked: str) bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func GetAngleMinToleranceInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves environment informations for the AngleMinTolerance
parameter.
Role:Retrieves the state of the AngleMinTolerance parameter in the current
environment.

Parameters:

ioAdminLevel

If the parameter is locked, AdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, AdminLevel gives the administration
level that will give the value of the parameter after a reset.

ioLocked
Indicates if the parameter has been locked.

Returns:
Indicates if the parameter has been explicitly modified or remain to
the administrated value.
Parameters:
  • io_admin_level (str) –

  • io_locked (str) –

Return type:

bool

get_default_tolerance_info(io_admin_level: str, io_locked: str) bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func GetDefaultToleranceInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves environment informations for the DefaultTolerance
parameter.
Role:Retrieves the state of the DefaultTolerance parameter in the current
environment.

Parameters:

ioAdminLevel

If the parameter is locked, AdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, AdminLevel gives the administration
level that will give the value of the parameter after a reset.

ioLocked
Indicates if the parameter has been locked.

Returns:
Indicates if the parameter has been explicitly modified or remain to
the administrated value.
Parameters:
  • io_admin_level (str) –

  • io_locked (str) –

Return type:

bool

get_length_max_tolerance_info(io_admin_level: str, io_locked: str) bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func GetLengthMaxToleranceInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves environment informations for the LengthMaxTolerance
parameter.
Role:Retrieves the state of the LengthMaxTolerance parameter in the current
environment.

Parameters:

ioAdminLevel

If the parameter is locked, AdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, AdminLevel gives the administration
level that will give the value of the parameter after a reset.

ioLocked
Indicates if the parameter has been locked.

Returns:
Indicates if the parameter has been explicitly modified or remain to
the administrated value.
Parameters:
  • io_admin_level (str) –

  • io_locked (str) –

Return type:

bool

get_length_min_tolerance_info(io_admin_level: str, io_locked: str) bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Func GetLengthMinToleranceInfo(CATBSTR ioAdminLevel,
CATBSTR ioLocked) As boolean

Retrieves environment informations for the LengthMinTolerance
parameter.
Role:Retrieves the state of the LengthMinTolerance parameter in the current
environment.

Parameters:

ioAdminLevel

If the parameter is locked, AdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, AdminLevel gives the administration
level that will give the value of the parameter after a reset.

ioLocked
Indicates if the parameter has been locked.

Returns:
Indicates if the parameter has been explicitly modified or remain to
the administrated value.
Parameters:
  • io_admin_level (str) –

  • io_locked (str) –

Return type:

bool

property length_max_tolerance: float

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property LengthMaxTolerance() As double

Returns or sets the LengthMaxTolerance parameter.
Role:Return or Set the LengthMaxTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

oLengthMaxTolerance
The length maximum tolerance value.
Return type:

float

property length_min_tolerance: float

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property LengthMinTolerance() As double

Returns or sets the LengthMinTolerance parameter.
Role:Return or Set the LengthMinTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

oLengthMinTolerance
The length minimum tolerance value.
Return type:

float

set_angle_max_tolerance_lock(i_locked: bool) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub SetAngleMaxToleranceLock(boolean iLocked)

Locks or unlocks the AngleMaxTolerance parameter.
Role:Locks or unlocks the AngleMaxTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.
Parameters:

i_locked (bool) –

Return type:

None

set_angle_min_tolerance_lock(i_locked: bool) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub SetAngleMinToleranceLock(boolean iLocked)

Locks or unlocks the AngleMinTolerance parameter.
Role:Locks or unlocks the AngleMinTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.
Parameters:

i_locked (bool) –

Return type:

None

set_default_tolerance_lock(i_locked: bool) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub SetDefaultToleranceLock(boolean iLocked)

Locks or unlocks the DefaultTolerance parameter.
Role:Locks or unlocks the DefaultTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.
Parameters:

i_locked (bool) –

Return type:

None

set_length_max_tolerance_lock(i_locked: bool) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub SetLengthMaxToleranceLock(boolean iLocked)

Locks or unlocks the LengthMaxTolerance parameter.
Role:Locks or unlocks the LengthMaxTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.
Parameters:

i_locked (bool) –

Return type:

None

set_length_min_tolerance_lock(i_locked: bool) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub SetLengthMinToleranceLock(boolean iLocked)

Locks or unlocks the LengthMinTolerance parameter.
Role:Locks or unlocks the LengthMinTolerance parameter if it is possible in
the current administrative context. In user mode this method will always return
E_FAIL.

Parameters:

iLocked
the locking operation to be performed Legal
values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter.
Parameters:

i_locked (bool) –

Return type:

None