pycatia.cat_sch_platform_interfaces.sch_app_delete_check¶
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.cat_sch_platform_interfaces.sch_app_delete_check.SchAppDeleteCheck(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchAppDeleteCheckManage the deletion of a schematic object.- app_get_delete_warning(o_caption: str, o_message: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppGetDeleteWarning(CATBSTR oCaption,CATBSTR oMessage)Returns the caption and message text to be used as a warning for the deleteoperation.Parameters:oCaptionPointer to a CATUnicode string used for the caption of the messagebox.oMessagePointer to a CATUnicode string used as the warning message.Example:Dim objThisIntf As SchAppDeleteCheckDim strVar1 As StringDim strVar2 As String…objThisIntf.AppGetDeleteWarningstrVar1,strVar2
- Parameters:
o_caption (str) –
o_message (str) –
- Return type:
None
- app_ok_to_delete_without_warning(o_ok: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AppOkToDeleteWithoutWarning(boolean oOk)Reports if a warning message should be issued before deleting theobject.Example:A Logical Line with members cannot be deleted withoutcomplications. Its members must also be deleted for model integrity. A LogicalLine with members would return FALSE in this case.Parameters:oOKPointer to the CATBoolean to receive the ok.Example:Dim objThisIntf As SchAppDeleteCheckDim bVar1 As boolean…objThisIntf.AppOkToDeleteWithoutWarningbVar1
- Parameters:
o_ok (bool) –
- Return type:
None