All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIMmiBRepAttributeSynchronize

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

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


interface CATIMmiBRepAttributeSynchronize

Interface to synchronize attributes that have been copied on the Import Feature.
Role: This interface allows to synchronize BRep attributes. It is implemented by external references of a Part document (Features issued from a Copy As Result With Link). See CATIPersistentSubElement interface for more informations about those attributes.


Method Index


o GetBRepAttributeStatus(int*)
Returns the synchronized status of the BRep attributes.
o SynchronizeBRepAttributes()
Synchronizes the BRep attributes.

Methods


o GetBRepAttributeStatus
public virtual HRESULT GetBRepAttributeStatus(int* oStatus) const = 0
Returns the synchronized status of the BRep attributes.
Parameters:
oStatus
integer.
legal values:
  • 0 the BRep attributes are not synchronized
  • 1 the BRep attributes are synchronized.
Returns:
The error code.
Legal values:
  • S_OK: The status is retrieved
  • E_FAIL: The status could not be accessed.
o SynchronizeBRepAttributes
public virtual HRESULT SynchronizeBRepAttributes()const = 0
Synchronizes the BRep attributes.
Returns:
The error code.
Legal values:
  • S_OK: The synchronization has been performed
  • E_FAIL: The synchronization could not be performed. The method can return a CATError class, that you retrieve thanks the CATError.CATGetLastError global function. The possible case of error are:
    • AttributesERR_1001: The imported feature is deactivated.
    • AttributesERR_1002: The referenced feature is deactivated.
    • AttributesERR_1003: The referenced feature has no domains.

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

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