All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

SchAppReplace (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---SchAppReplace
 


Manage a schematic component.

Method Index

AppOKToReplace
Query whether it is OK to replace an existing object (component, route.
AppPostReplaceProcess
Post process after replacing an object.

Methods


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

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