All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMSTEPExchanges Interface ENOVIExUEAssyDataX

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

Usage: you can freely reimplement this interface.


interface ENOVIExUEAssyDataX

Used to Export data into ENOVIA V5.
this User Exit allows to value attribut V_external_ID on a Assembly Relation entity during export Role: This interface must be re-implemented when we want to manage the generation of Aseembly relation ID.
You must update your dictionary with the following Late Type UEAssyDataX.


Method Index


o GenerateAssemblyRelationExternalID(CATIAVPMObject*,CATUnicodeString&)
This method is used to generate a new ID for current Assembly Relation from EV5 Object
Role: Generate a New ID for an Assembly Relation

Methods


o GenerateAssemblyRelationExternalID
public virtual HRESULT GenerateAssemblyRelationExternalID( const CATIAVPMObject* iCurrentARObject,
CATUnicodeString& usNewId) = 0
This method is used to generate a new ID for current Assembly Relation from EV5 Object
Role: Generate a New ID for an Assembly Relation
Returns:
Returns S_OK if generation successfull else returns S_FALSE if generation failed (execution of export do not aborted) or returns E_NOTIMPL if method is not implement (execution of export do not aborted) or returns E_???(see ERROR Messages) if generation failed (execution of export is aborted)
Parameters:
iCurrentARObject
The ENOVIA Object, mapped with ENOV_DATAX Object.
usNewId
The new ID will be used to initialized the Current Assembly Relation's attribut named V_external_ID

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

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