All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMDesktopObjects Interface CATIAVPMVDACopy

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATBaseDispatch
        |
        +---System.CATIABase
          |
          +---VPMDesktopObjects.CATIAVPMVDACommand
            |
            +---CATIAVPMVDACopy
 

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


interface CATIAVPMVDACopy

This interface executes a copy of an object in the buffer.
Role : To execute a copy paste on a Business Object, you have first to copy the object in the buffer of the server. The paste operation will be executed only if there is something in this buffer.


Method Index


o get_BObject(ENOVIABusinessObject*&)
This method gives access to the Business Object put in the buffer, to perform some operations on it.
o put_BObject(ENOVIABusinessObject*)
This method puts the Business Object in the buffer of the server to execute later a paste operation.

Methods


o get_BObject
public virtual HRESULT __stdcall get_BObject(ENOVIABusinessObject*& object)=0
This method gives access to the Business Object put in the buffer, to perform some operations on it. It is designed for the user-exits for the customer, and should not be used in another context.
Parameters:
object
The copied Business Object.
Returns:
S_OK in case of success.
o put_BObject
public virtual HRESULT __stdcall put_BObject(ENOVIABusinessObject* object)=0
This method puts the Business Object in the buffer of the server to execute later a paste operation.
Parameters:
object
The Business Object to copy.
Returns:
S_OK in case of success, E_FAIL in case of error.

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

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