pycatia.cat_sch_platform_interfaces.sch_app_replace

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_replace.SchAppReplace(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
SchAppReplace

Manage a schematic component.
app_ok_to_replace(i_sch_object_to_be_replaced_by_this: AnyObject, o_b_yes: bool) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AppOKToReplace(AnyObject iSchObjectToBeReplacedByThis,
boolean oBYes)

Query whether it is OK to replace an existing object (component, route…)
with this object.

Parameters:

iSchObjectToBeReplacedByThis
Pointer to the existing object to be replaced by this object.

oBYes
If TRUE, then it is OK to replace the object.

Example:

Dim objThisIntf As SchAppReplace
Dim objArg1 As AnyObject
Dim bVar2 As boolean
objThisIntf.AppOKToReplaceobjArg1,bVar2
Parameters:
  • i_sch_object_to_be_replaced_by_this (AnyObject) –

  • o_b_yes (bool) –

Return type:

None

app_post_replace_process(i_sch_object_to_be_replaced_by_this: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AppPostReplaceProcess(AnyObject
iSchObjectToBeReplacedByThis)

Post process after replacing an object.

Parameters:

iNewObject
The new Application object

Example:



Dim objThisIntf As SchAppReplace
Dim objArg1 As AnyObject
objThisIntf.AppPostReplaceProcessobjArg1
Parameters:

i_sch_object_to_be_replaced_by_this (AnyObject) –

Return type:

None