pycatia.assembly_interfaces.assembly_general_setting_att¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.assembly_interfaces.assembly_general_setting_att.AssemblyGeneralSettingAtt(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerAsmGeneralSettingAttRepresents the Assembly General setting controller object.Role: the Assembly General setting controller object deals with the settingparameters displayed in the Assembly General property page. To access thisproperty page:Click the Options command in the Tools menuClick + left of Mechanical Design to unfold the workbenchlistClick Assembly Design: General tab- property auto_switch_to_design_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AutoSwitchToDesignMode() AsCatAsmAutoSwitchToDesignModeReturns or sets the implicit switch from visualization mode to design modesetting parameter .Role: The implicit switch from visualization mode to design mode settingparameter manages the loading of necessayr data whenever they are needed. Notethat this option is useful only when the Cache option isactivatedLegal values:catAutoSwitchUnavailable Automatic switch to design modeunavailablecatAutoSwitchAvailable Automatic switch to design modeavailableExample:The following example retrieves the implicit switch setting parameterof AsmGeneralSettingAtt1 in SwitchMode and enables theswitchSet SwitchMode = AsmGeneralSettingAtt1.AutoSwitchToDesignModeAsmGeneralSettingAtt1.AutoSwitchToDesignMode = catAutoSwitchAvailable
- Returns:
enum cat_asm_auto_switch_to_design_mode
- Return type:
int
- property auto_update_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AutoUpdateMode() As CatAsmUpdateModeReturns or sets the automatic update setting parameter.Role: The automatic update setting parameter manages the automaticlaunching of the Update command.Legal values:catManualUpdate Manual update modecatAutomaticUpdate Automatic update modeExample:The following example retrieves the automatic update setting parameterof AsmGeneralSettingAtt1 in UpdateMode and sets the mode to manualupdate.Set UpdateMode = AsmGeneralSettingAtt1.AutoUpdateModeAsmGeneralSettingAtt1.AutoUpdateMode = catManualUpdate
- Returns:
enum cat_asm_update_mode
- Return type:
int
- get_auto_switch_to_design_mode_info(admin_level: str, o_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAutoSwitchToDesignModeInfo(CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves the state of the implicit switch from visualization mode todesign mode setting parameter.Refer to SettingController for a detailed description.
- Parameters:
admin_level (str) –
o_locked (str) –
- Return type:
bool
- get_auto_update_mode_info(io_admin_level: str, io_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAutoUpdateModeInfo(CATBSTR ioAdminLevel,CATBSTR ioLocked) As booleanRetrieves informations about the automatic update settingparameter.Refer to SettingController for a detailed description.
- Parameters:
io_admin_level (str) –
io_locked (str) –
- Return type:
bool
- get_move_with_fix_t_extend_mode_info(admin_level: str, o_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetMoveWithFixTExtendModeInfo(CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves the state of the setting parameter managing the extension of amove to the components involved in a FixTogether.Refer to SettingController for a detailed description.
- Parameters:
admin_level (str) –
o_locked (str) –
- Return type:
bool
- get_update_status_mode_info(admin_level: str, o_locked: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetUpdateStatusModeInfo(CATBSTR AdminLevel,CATBSTR oLocked) As booleanRetrieves informations about the update status computation settingparameter.Refer to SettingController for a detailed description.
- Parameters:
admin_level (str) –
o_locked (str) –
- Return type:
bool
- property move_with_fix_t_extend_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MoveWithFixTExtendMode() As CatAsmExtendMoveToFixTReturns or sets the setting parameter managing the extension of a move tothe components involved in a FixTogether.Role: This setting parameter manages whether the components involved in aFixTogether will be moved or not.Legal values:catNeverExtendMoveToFixT Never extend move to all component involved in aFixTogethercatAskIfExtendMoveToFixT Ask question to extend move to all componentinvolved in a FixTogethercatAlwaysExtendMoveToFixT Always extend move to all component involved ina FixTogetherExample:The following example retrieves the move setting parameter ofAsmGeneralSettingAtt1 in MoveMode and sets it toAlwaysSet MoveMode = AsmGeneralSettingAtt1.MoveWithFixTExtendModeAsmGeneralSettingAtt1.MoveWithFixTExtendMode = catAlwaysExtendMoveToFixT
- Returns:
enum cat_asm_extend_move_to_fix_t
- Return type:
int
- set_auto_switch_to_design_mode_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAutoSwitchToDesignModeLock(boolean iLocked)Locks or unlocks the implicit switch from visualization mode to design modesetting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_auto_update_mode_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAutoUpdateModeLock(boolean iLocked)Locks or unlocks the automatic update setting parameter.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_move_with_fix_t_extend_mode_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetMoveWithFixTExtendModeLock(boolean iLocked)Locks or unlocks the setting parameter managing the extension of a move tothe components involved in a FixTogether.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- set_update_status_mode_lock(i_locked: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetUpdateStatusModeLock(boolean iLocked)Locks or unlocks the update status computation settingparameter.Refer to SettingController for a detailed description.
- Parameters:
i_locked (bool) –
- Return type:
None
- property update_status_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property UpdateStatusMode() AsCatAsmUpdateStatusComputeModeReturns or sets the update status computation settingparameter.Role: The update status computation setting parameter manages the loadingat open of the data necessary to the exact update status computation. Note thatthis option is useful only when the Cache option isactivatedLegal values:catManualCompute At open the update status is unknowncatAutomaticCompute Additional data are being loaded at open to compute anexact Update statusExample:The following example retrieves the update status computation settingparameter of AsmGeneralSettingAtt1 in StatusMode and sets the mode to automaticcomputation.Set StatusMode = AsmGeneralSettingAtt1.UpdateStatusModeAsmGeneralSettingAtt1.UpdateStatusMode = catAutomaticCompute
- Returns:
enum cat_asm_update_status_compute_mode
- Return type:
int