pycatia.cat_sch_platform_interfaces.sch_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_replace.SchReplace(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
SchReplace

Manage existing schematic component instances.
replace(i_grr_to_be_placed: SchGRRComp, i_sch_comp_to_be_removed: SchComponent) SchComponent

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Replace(SchGRRComp iGRRToBePlaced,
SchComponent iSchCompToBeRemoved) As SchComponent

Replace an existing component with this component.

Parameters:

iGRRToBePlaced
Pointer to the component graphical representation of this component
to be placed. if NULL the first representation found will be used.

iSchCompToBeRemoved
Pointer to the existing component to be replaced by this component.

oNewComponent
Interface pointer to the new component instance placed.

Example:

Dim objThisIntf As SchReplace
Dim objArg1 As SchGRRComp
Dim objArg2 As SchComponent
Dim objArg3 As SchComponent
Set objArg3 = objThisIntf.Replace(objArg1,objArg2)
Parameters:
Return type:

SchComponent