ProductStructureExtItf Interface CATIPrdExtRepresentationReferenceFactory

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


interface CATIPrdExtRepresentationReferenceFactory

Interface to create extended PLM Product Representation Reference.

Role: This interface is the factory to create extended Product Representation Reference objects.
A pointer on this interface can be retrieved using the CATPrdFactory class.


Method Index


o CreateTechnologicalRepReference(CATIAdpEnvironment*,CATListValCATICkeParm_var&,CATFmCredentials&,CATUnicodeString&,CATUnicodeString&,CATIPsiRepresentationReference*&)
Creates a new Technological Product Representation Reference.

Methods


o CreateTechnologicalRepReference
public virtual HRESULT CreateTechnologicalRepReference(CATIAdpEnvironment* ipEnv,
CATListValCATICkeParm_var& iPrdRepAttributesValues,
const CATFmCredentials& iAccreditations,
const CATUnicodeString& iContainerType,
const CATUnicodeString& iContainerName,
CATIPsiRepresentationReference*& opRepReference) = 0
Creates a new Technological Product Representation Reference.
Role: This method creates a Technological Product Representation Reference.

This API invokes the following Business Logic Openness:

For any information about Business Logic Openness, refer to the CAA Encyclopedia documentation: Reference \ Business Logic Openness section.

Parameters:
ipEnv
The environment defining the project. The project determines the deployment type to associate (or not) to the new PLM Object.
If the argument is NULL, the current environment is used.
iPrdRepAttributesValues
A list of Product Representation Reference attributes values.
This list must be empty.
iAccreditations
The application accreditation set.
iContainerType
The type of the container to be created.
This can be either:
  • An application choosen Late Type (naming convention must be followed) in which case it will be possible to implement the
CATInit interface
  • The "CATFeatCont" Late Type. Implement the CATInit interface on DS "CATFeatCont" Late Type is forbidden.
  • iContainerName
    A user choosen name for the container. This name must be unique among all the containers of its context, following the naming convention is consequently recommended.
    opRepReference
    [out, CATBaseUnknown#Release] The created Product Representation Reference.
    This parameter MUST be provided by caller as NULL. This method returns E_INVALIDARG otherwise.
    Returns:
    • S_OK if the Product Representation Reference has been successfully created.
    • E_FAIL if internal error occurred, the PLM object is not created.
    • INVALIDARG at least one argument is either missing or invalid.

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

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