All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMDesktopObjects Interface CATIAVPMVDAReplace

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIAVPMVDAReplace

This interface is used to replace a part reference.
Role : This interface deletes a Business Object from memory and from database.


Method Index


o get_Instance(ENOVIABusinessObject*&)
Retrieves the part instance.
o get_OutputInstance(ENOVIABusinessObject*&)
Retrieves the resulting output instance.
o get_Part(ENOVIABusinessObject*&)
Retrieves the part reference.
o put_Instance(ENOVIABusinessObject*)
Sets the part instance.
o put_Part(ENOVIABusinessObject*)
Sets the reference to be replaced.

Methods


o get_Instance
public virtual get_Instance( instance)
Retrieves the part instance.
Parameters:
instance.
Returns:
S_OK or E_FAIL.
o get_OutputInstance
public virtual get_OutputInstance( outputinstance)
Retrieves the resulting output instance.
Parameters:
outputinstance.
Returns:
S_OK or E_FAIL.
o get_Part
public virtual get_Part( reference)
Retrieves the part reference.
Parameters:
reference.
Returns:
S_OK or E_FAIL.
o put_Instance
public virtual put_Instance( instance)
Sets the part instance.
Parameters:
instance
The instance object to be replaced.
Returns:
S_OK or E_FAIL.
o put_Part
public virtual put_Part( reference)
Sets the reference to be replaced.
Parameters:
reference
The reference object to be replaced.
Returns:
S_OK or E_FAIL.

This object is included in the file: CATIAVPMVDAReplace.h
If needed, your Imakefile.mk should include the module: VDO0Commands

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