CATMecModUseItf Interface 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 with the following options :
- the source and target must be in the same part.
- the link mode must be set either by the setting "keep link"
or by the method
(mode TRUE).
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 :
- Identifying internal copies with link from other features.
- retrieving the reference feature.
The main behaviours of an internal copy with link are the following :
- Updating the internal copy : it performs a synchronization of the geometry by copying the geometry of the
reference feature.
- Breaking the link with
. After this operation, the feature will no more answer to this interface because the link is deleted.
- Temporary isolation with
(reversed with
. After this operation, the feature still answers to this interface.
Method Index
- o
GetSelectedElement(IID&,void**)
- Returns the reference of the copy.
Methods
o GetSelectedElement
public virtual GetSelectedElement( | const | iIID, |
| | oPointedElem) |
-
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: CATMecModUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.