DraftingUseItf CATDftCGMContainerAccess

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


public class CATDftCGMContainerAccess

Class to retrieve the CGM container of a Drawing or a 2D Layout.
Role: This class enables to retrieve the CGM container of a Drawing or a 2D Layout starting from any feature which is inside a DFT applicative container (DrwCont or 2DLCont).


Method Index


o GetCGMContainer(CATBaseUnknown*,IID&,void**)
Returns the CGM container of a Drawing or a 2D Layout.

Methods


o GetCGMContainer
public static GetCGMContainer( iDftObject,
const iIID,
oCGMContainer)
Returns the CGM container of a Drawing or a 2D Layout.
Parameters:
iDftObject
[in] Any feature which is inside a DrwCont or 2DCont.
iIID
The IID of the interface.
oCGMContainer
[out, CATBaseUnknown#Release] The retrieved container.
Returns:
S_OK if the CGM Container was found
E_FAIL if the operation failed

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

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