pycatia.dnb_robot_interfaces.aux_devices_mgt¶
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.dnb_robot_interfaces.aux_devices_mgt.AuxDevicesMgt(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAuxDevicesMgtINTERFACE : DNBIAAuxDevicesMgtDESCRIPTION This allows add/remove and get/set of aux devices for arobot- define_aux_devices(i_aux_device_obj: AnyObject, i_aux_device_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub DefineAuxDevices(AnyObject iAuxDeviceObj,DNBAuxilliaryDeviceType iAuxDeviceType)Add a aux device to the robot.Parameters:iAuxDeviceObjThis parameter should be the device to add as aux device.iAuxDeviceTypeThis parameter should be the type of aux device.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
i_aux_device_obj (AnyObject) –
i_aux_device_type (int) – enum dnb_auxilliary_device_type
- Return type:
None
- get_all_aux_devices(o_aux_device_list: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAllAuxDevices(CATSafeArrayVariant oAuxDeviceList)Get all aux devices defined for the robot.Parameters:oAuxDeviceListThis outer parameter contains list of aux devices.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
o_aux_device_list (tuple) –
- Return type:
None
- get_aux_devices(i_aux_device_num: int) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAuxDevices(long iAuxDeviceNum) As AnyObjectGet the aux device given the the index.Parameters:iAuxDeviceNumThis parameter should be the index of the aux device. Valid valuesare from 1 to nbAuxDevices.oAuxDeviceThis outer parameter contains aux device at the given indexiAuxDeviceNum.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
i_aux_device_num (int) –
- Return type:
- get_aux_devices_type(i_aux_device_num: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAuxDevicesType(long iAuxDeviceNum) AsDNBAuxilliaryDeviceTypeGet the aux device given the the index.Parameters:iAuxDeviceNumThis parameter should be the index of the aux device. Valid valuesare from 1 to nbAuxDevices.oAuxDeviceTypeThis outer parameter contains aux device type for the aux device atthe given index iAuxDeviceNum.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
i_aux_device_num (int) –
- Returns:
enum dnb_auxilliary_device_type
- Return type:
int
- get_nb_aux_devices() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetNbAuxDevices() As longGet the number of aux devices for the robot.Parameters:nbAuxDevicesThis outer parameter contains the number of aux devices.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Return type:
int
- remove_all() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAll()Remove all the aux devices defined for the robot.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Return type:
None
- remove_aux_devices_by_position(i_aux_device_num: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAuxDevicesByPosition(long iAuxDeviceNum)Remove the aux device at the given index.Parameters:iAuxDeviceNumThis parameter should be the index of the aux device to be removed.Valid values are from 1 to nbAuxDevices.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
i_aux_device_num (int) –
- Return type:
None