CAT3DPhysicalRepInterfaces Interface CATIPsiRepRefFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPsiRepRefFactory
- Deprecated:
- R211 Use
Interface dedicated to the Representation Reference implicit factory.
Role: This interface enables you to create different kinds of Representation Reference
(
) in the current environment (
).
A pointer on this interface can be retrieved using the
class.
Method Index
- o
CreateRepresentationReferenceWithAuthoring(CATUnicodeString&,CATIPsiRepresentationReference*&)
-
- o
CreateRepresentationReferenceWithAuthoringInitializedWithContentOf(CATUnicodeString&,CATUnicodeString&,CATIPsiRepresentationReference*&)
-
- o
CreateTechnologicalRepresentationReference(CATIPsiRepresentationReference*&)
-
Methods
o CreateRepresentationReferenceWithAuthoring
public virtual CreateRepresentationReferenceWithAuthoring( | const | iAuthoringType, |
| | oRepRef) |
-
- Deprecated:
- R211 Use
Creates a new Representation Reference with a new document attached as Authoring Stream Descriptor.
PLM Attributes of created Representation Reference are initialized using Business Logic "IdentificationInitialization".
- Parameters:
-
- 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( | 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.
PLM Attributes of created Representation Reference are initialized using Business Logic "IdentificationInitialization".
- Parameters:
-
- 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( | | oTechRepRef) |
-
- Deprecated:
- R211 No Replacement
Creates a new Technological Representation Reference.
The created Representation Reference data type (
) will be TechnologicalRepresentation. PLM Attributes of created Representation Reference are initialized using Business Logic "IdentificationInitialization".
- Parameters:
-
- oTechRepRef
- [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: CATIPsiRepRefFactory.h
If needed, your Imakefile.mk should include the module: CAT3DPhysicalRepItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.