CAT3DPhysicalRepInterfaces Interface CATIPsiRepresentationReference

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


interface CATIPsiRepresentationReference

Interface dedicated to the Representation Reference management.

The Representation Reference can contain one main stream descriptor which refers to any type of document (3D Shape, V4 model, Drawing, Text file, ...).
A Representation Reference can be instanciated as a Representation Instance which is in turn aggregated under a Product Reference.
This interface is implemented on the Representation Reference.


Method Index


o GetMainDataType(CATUnicodeString&)
Retrieves the type of the main data attached to the Representation Reference.
o GetRepInstances(CATListValCATBaseUnknown_var&)
Retrieves all the Representation Instances of the current Representation Reference.
o Is3DGeometry()
Tests whether the Representation Reference is associated to a 3D geometrical representation.

Methods


o GetMainDataType
public virtual GetMainDataType( oType)
Retrieves the type of the main data attached to the Representation Reference.
Parameters:
oType
The type of the main data.
Returns:
  • S_OK if the main data type has been successfully retrieved.
  • E_FAIL if an unexpected error occured.
o GetRepInstances
public virtual GetRepInstances( opListRepInstances)
Retrieves all the Representation Instances of the current Representation Reference.
Parameters:
opListRepInstances
The list of Representation Instances of the current Representation Reference.
Returns:
  • S_OK if the list of representation instances has been successfully retrieved.
  • E_FAIL if an unexpected error occured.
o Is3DGeometry
public virtual Is3DGeometry()
Tests whether the Representation Reference is associated to a 3D geometrical representation.
Returns:
  • TRUE if the Representation Reference is associated to a 3D geometrical representation.
  • FALSE otherwise.

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

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