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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchAppReplaceManage 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:iSchObjectToBeReplacedByThisPointer to the existing object to be replaced by this object.oBYesIf TRUE, then it is OK to replace the object.Example:Dim objThisIntf As SchAppReplaceDim objArg1 As AnyObjectDim 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(AnyObjectiSchObjectToBeReplacedByThis)Post process after replacing an object.Parameters:iNewObjectThe new Application objectExample:Dim objThisIntf As SchAppReplaceDim objArg1 As AnyObject…objThisIntf.AppPostReplaceProcessobjArg1
- Parameters:
i_sch_object_to_be_replaced_by_this (AnyObject) –
- Return type:
None