All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface ENOVIUESaveFile

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ENOVIUESaveFile
 

Usage: you can freely reimplement this interface.


interface ENOVIUESaveFile

This Class can be implemented as a User Exit in order to control the object on which a File/Save in an external application (example : CATIA V5) will be performed.


Method Index


o GetObject(CATBaseUnknown*&)
User Exit method called before saving a document revision from CATIA.

Methods


o GetObject
public virtual HRESULT GetObject(CATBaseUnknown*& oDocumentRevision)=0
User Exit method called before saving a document revision from CATIA.
Role: control the number of document iterations created for a document revision
Parameters:
oDocumentRevision
The document revision object to save
Examples of possible output values :
  • object on which the method is applied
  • new DocumentRevision object: to attach the document to a new document version
  • ...
Returns:
An HRESULT.
Legal values:
S_OK
oDocumentRevision preferred iteration will be overwritten
S_FALSE
A new iteration will be created
FAILED
An ERROR occured.

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

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