CATFmtToolsInterfaces class CATFmtFEMRepFactory

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


public class CATFmtFEMRepFactory

Class to manage creation of FEM representations


Method Index


o CreateRepresentation(CATIAdpEnvironment*,CATBaseUnknown*,CATIType*,CATICkeObject*,CATUnicodeString&,CATBoolean,CATBaseUnknown**)
Creates the representation.

Methods


o CreateRepresentation
public static HRESULT CreateRepresentation(CATIAdpEnvironment* iEnvironment,
CATBaseUnknown* iOwner,
CATIType* iRepType,
CATICkeObject* iProxy,
const CATUnicodeString& iApplicativeName,
CATBoolean iInteractiveMode,
CATBaseUnknown** oCreatedRep)
Creates the representation.
Parameters:
Environment
The applicative environnement. If set to NULL, it will retreive the current environment.
iOwner
Product that will own the representation
iRepType
Reserved for future use (should be set to NULL)
iProxy
Reserved for future use (should be set to NULL)
iApplicativeName
Reserved for future use (should be left blank)
iInteractiveMode
A bolean.
Legal values:
TRUE
PLM New user interface will be used.
FALSE
Creation will be done without any user interface.
oCreatedRep
Pointer to the location where the pointer to the created representation will be stored. This argument could be NULL. If not, it has to be released by the caller. Note that the rep pointer will not be available on return of the method in case of interactive creation (PLM New). Caller has to wait until the completion of the command which is started.
Returns:
An HRESULT.
Legal values:
S_OK
Representation have been succesfully created.
E_FAIL
Otherwise.

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

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