All Frameworks  Object Hierarchy  This Framework  Indexes   

SchAppReplace (Object)

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( 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
 
o 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
 

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