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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SchAppDeleteCheck

Manage 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 delete
operation.

Parameters:

oCaption
Pointer to a CATUnicode string used for the caption of the message
box.
oMessage
Pointer to a CATUnicode string used as the warning message.


Example:



Dim objThisIntf As SchAppDeleteCheck
Dim strVar1 As String
Dim 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 the
object.
Example:A Logical Line with members cannot be deleted without
complications. Its members must also be deleted for model integrity. A Logical
Line with members would return FALSE in this case.

Parameters:

oOK
Pointer to the CATBoolean to receive the ok.

Example:



Dim objThisIntf As SchAppDeleteCheck
Dim bVar1 As boolean
objThisIntf.AppOkToDeleteWithoutWarningbVar1
Parameters:

o_ok (bool) –

Return type:

None