All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIMmiInternalCopyWithLink

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

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


interface CATIMmiInternalCopyWithLink

Interface to manage internal copy with link.
Role: This interface allows to manage objects created either by copy/paste as result with link inside a part or by using CATMmrInterPartCopy with the following options :

Internal copies made without a link do not answer to this interface.

The source of the copy is called the reference feature of the internal copy.

This interface has two main usages :

  1. Identifying internal copies with link from other features.
  2. retrieving the reference feature.
The main behaviours of an internal copy with link are the following :


Method Index


o GetSelectedElement(IID&,void**)
Returns the reference of the copy.

Methods


o GetSelectedElement
public virtual HRESULT GetSelectedElement( const IID& iIID,
void** oPointedElem) = 0
Returns the reference of the copy.
Parameters:
iIID
The interface IID to query on the returned object.
oPointedElem
[out] Pointer to pointed element
Returns:

S_OK if the pointed element is found.

E_FAIL if the pointed element has been deleted.


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

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