CATFmtToolsInterfaces Interface CATIFmtLinkedRep

Usage: you must use this class as is. You should never derive it.


interface CATIFmtLinkedRep

Interface to be used to add a link to a 3D Shape


Method Index


o AddAssociatedReps(CATFmtListOfPath&)
Add a link
o GetAssociatedReps(CATFmtListOfPath&)
Returns the list of links
o HasAnAssociatedRep()
Checks if the FEM represnetation has a link
o RemoveAssociatedReps(CATFmtListOfPath&,CATBoolean)
Remove a link

Methods


o AddAssociatedReps
public virtual AddAssociatedReps( iSupports)
Add a link
Parameters:
iSupport
A link to add
See also:
iTag
Tag of the Link. Should be set to NULL.
Returns:
An HRESULT : S_OK if it ran Ok, E_FAIL otherwise
o GetAssociatedReps
public virtual GetAssociatedReps( oSupports)
Returns the list of links
Parameters:
oSupports
The list of Supports
See also:
Returns:
An HRESULT : S_OK if it ran Ok, E_FAIL otherwise
o HasAnAssociatedRep
public virtual HasAnAssociatedRep()
Checks if the FEM represnetation has a link
Returns:
A Boolean
o RemoveAssociatedReps
public virtual RemoveAssociatedReps( iSupports,
iCleanIfNecessary= FALSE )
Remove a link
Parameters:
iSupport
A link to Remove
See also:
iCleanIfNecessary
If set to TRUE, it will clean FEM rep from any feature pointing to removed 3DShape If set to FALSE, operation will fail if some features are pointing to removed 3DShape
Returns:
An HRESULT : S_OK if it ran Ok, E_FAIL otherwise

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

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