SchAppReplace (Object)

Manage a schematic component.

Methods


Sub AppOKToReplace( iSchObjectToBeReplacedByThis, 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
 
Sub AppPostReplaceProcess( iSchObjectToBeReplacedByThis)
Post process after replacing an object.
Parameters:
iNewObject
The new Application object
Example:
 
 Dim objThisIntf As SchAppReplace
 Dim objArg1 As AnyObject
  ...
 objThisIntf.AppPostReplaceProcessobjArg1