All Frameworks  Class Hierarchy  This Framework  Next  Indexes

CATArrangementInterfaces Interface CATIArrAppProduct

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

Usage: you can reimplement this interface by deriving the supplied CATEArrAppProductAdapter adapter class.


interface CATIArrAppProduct

Interface to allow customization of Arr objects when the nomenclature is set or modified.
This interface will be called by the CATIA application code to give users the opportunity to plug in their own code. Users need to create their own implementation. Users implementing this interface must derive from the adapter CATEArrAppProductAdapter.h in case new methods are added. Users must define a .dic file tying the interface to an Arrangement object below.

ArrPathway
for Path Reservations
ArrBox
for Item Reservations
ArrRun
for Runs
ArrArea
for Areas
ArrPathwaySystem
for Reservation Networks
ArrLogicalSet
for Logical Sets
ArrDistributionSystem
for System Assembly
ArrLogicalLine
for Logical Assembly


Method Index


o NomenclatureWasModified(CATUnicodeString&,CATUnicodeString&)
Called after an Arrangement object sets the nomenclature.

Methods


o NomenclatureWasModified
public virtual HRESULT NomenclatureWasModified( const CATUnicodeString& iOldType,
const CATUnicodeString& iNewType)= 0
Called after an Arrangement object sets the nomenclature. This allows users to insert attributes or do other calculations when the Arrangement object is created or the type is modified. The nomenclature corresponds to the type displayed in the panel.
Parameters:
iOldType
Old Type/Nomenclature. Blank if creating object for the first time.
iNewType
New Type/Nomenclature being set (name in the panel).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

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

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