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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchReplaceManage 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 SchComponentReplace an existing component with this component.Parameters:iGRRToBePlacedPointer to the component graphical representation of this componentto be placed. if NULL the first representation found will be used.iSchCompToBeRemovedPointer to the existing component to be replaced by this component.oNewComponentInterface pointer to the new component instance placed.Example:Dim objThisIntf As SchReplaceDim objArg1 As SchGRRCompDim objArg2 As SchComponentDim objArg3 As SchComponent…Set objArg3 = objThisIntf.Replace(objArg1,objArg2)
- Parameters:
i_grr_to_be_placed (SchGRRComp) –
i_sch_comp_to_be_removed (SchComponent) –
- Return type: