Indexes   

SchReplace (Object)

Manage existing schematic component instances.

Method Index

Replace
Replace an existing component with this component.

Methods


o Func Replace( iGRRToBePlaced,
iSchCompToBeRemoved) As
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)
 

Copyright © 2006, Dassault Systèmes. All rights reserved.