CAT3DPhysicalRepInterfaces Interface CATIPsiPLMRepRefFactory

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


interface CATIPsiPLMRepRefFactory


Deprecated:
R211 Use
Interface dedicated to the Representation Reference explicit factory.
Role: This interface enables you to create different kinds of Representation Reference ( ) by valuating explicitly its PLM Attributes ( ).
A pointer on this interface can be retrieved using the class.


Method Index


o CreateRepresentationReferenceWithAuthoring(CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIAdpEnvironment*,CATUnicodeString&,CATIPsiRepresentationReference*&)
o CreateRepresentationReferenceWithAuthoringInitializedWithContentOf(CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIAdpEnvironment*,CATUnicodeString&,CATUnicodeString&,CATIPsiRepresentationReference*&)
o CreateTechnologicalRepresentationReference(CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIAdpEnvironment*,CATIPsiRepresentationReference*&)

Methods


o CreateRepresentationReferenceWithAuthoring
public virtual CreateRepresentationReferenceWithAuthoring( iPublicListValues,
iControlledListValues,
ipEnv,
const iAuthoringType,
oRepRef)
Deprecated:
R211 Use
Creates a new Representation Reference with a new document attached as Authoring Stream Descriptor.
Parameters:
iPublicListValues
All Public writable attributes. This list must contain at least all mandatory attributes and one of IdentifierSet.
iControlledListValues
Useless.
ipEnv
The input environment.
iAuthoringType
The type of the new Authoring document.
oRepRef
[out, CATBaseUnknown#Release] The created Representation Reference.
Note: the pointer should be RELEASED.
Returns:
  • S_OK if the Representation Reference has been successfully created.
  • E_FAIL if an unexpected error occured.
o CreateRepresentationReferenceWithAuthoringInitializedWithContentOf
public virtual CreateRepresentationReferenceWithAuthoringInitializedWithContentOf( iPublicListValues,
iControlledListValues,
ipEnv,
const iLateType,
const iSDPath,
opRepRef)
Deprecated:
R211 Use
Creates a new Representation Reference with an existing non CATIA V5 file document attached as Authoring Stream Descriptor.
Supported documents are for instance: *.txt, *.cgr or *.model files.
Refer to the CAA technical article for the exhaustive list of supported late types.
Parameters:
iPublicListValues
All Public writable attributes. This list must contain at least all mandatory attributes and one of IdentifierSet.
iControlledListValues
Useless.
ipEnv
The input environment.
iLateType
The type of the existing non CATIA V5 document to add as Authoring Stream Descriptor.
For instance: txt, cgr, model, etc.
iSDPath
The file path of the existing non CATIA V5 document.
opRepRef
[out, CATBaseUnknown#Release] The created Representation Reference.
Note: the pointer should be RELEASED.
Returns:
  • S_OK if the Representation Reference has been successfully created.
  • E_FAIL if an unexpected error occured.
o CreateTechnologicalRepresentationReference
public virtual CreateTechnologicalRepresentationReference( iPublicListValues,
iControlledListValues,
ipEnv,
oTechnoRepRef)
Deprecated:
R211 No Replacement
Creates a new Technological Representation Reference.
The created Representation Reference data type ( ) will be TechnologicalRepresentation.
Parameters:
iPublicListValues
All Public writable attributes. This list must contain at least all mandatory attributes and one of IdentifierSet.
iControlledListValues
Useless.
ipEnv
The input environment.
oTechnoRepRef
[out, CATBaseUnknown#Release] The created Technological Representation Reference.
Note: the pointer should be RELEASED.
Returns:
  • S_OK if the Technological Representation Reference has been successfully created.
  • E_FAIL if an unexpected error occured.

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

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