CATMecModUseItf Interface 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 3D Shape (Features issued from a Copy As Result With Link). See 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 GetBRepAttributeStatus( oStatus)
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 SynchronizeBRepAttributes()
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 class, that you retrieve thanks the 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: CATMecModUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.