All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ElecHarnessItf Interface CATIEhiMechanicalImport

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

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


interface CATIEhiMechanicalImport

Interface used to manage external references inside Multi-Branchable CATPart, Bundle Segment CATPart and Electrical Protection CATPart.

Role: Components that implement CATIEhiMechanicalImport are only the external references inside Multi-Branchable CATPart, Bundle Segment CATPart and Electrical Protection CATPart. So, external references not inside this supported CATPart will not be manageable with this interface. This interface is a clone of CATIMechanicalImport with a subset of its methods, restricted to EHI objects.


Method Index


o BreakLink()
Removes the link between the external reference and its reference.
o ForceLoad()
Force loading of the reference document
o GetSelectedFeatureInSourceProduct()
Returns the reference of the current external reference.
o GetSourceProduct()
Returns the part instance in a CATProduct document corresponding to the selected mechanical part.

Methods


o BreakLink
public virtual HRESULT BreakLink()=0
Removes the link between the external reference and its reference.
Returns:
S_OK if succeeded, E_FAIL otherwise.
o ForceLoad
public virtual void ForceLoad()const = 0
Force loading of the reference document
o GetSelectedFeatureInSourceProduct
public virtual CATISpecObject_var GetSelectedFeatureInSourceProduct()const = 0
Returns the reference of the current external reference.
o GetSourceProduct
public virtual CATISpecObject_var GetSourceProduct()= 0
Returns the part instance in a CATProduct document corresponding to the selected mechanical part.

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

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