All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSDocument

System.IUnknown
  |
  +---CATITPSDocument
 

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


interface CATITPSDocument

Interface implemented by documents that can contains tolerancing informations.
It allows to access tolerancing sets included in document.


Method Index


o GetBags(CATITPSList**)
Retrieves all tolerancing bags included in the document.
o GetSets(CATITPSList**,CATTPSSetScanMode)
Retrieves tolerancing sets included in the document.
o GetTolerancingContainer(CATIContainer**)
Retrieves the container in which the tolerancing feature are gathered for a specific document.

Methods


o GetBags
public virtual HRESULT GetBags(CATITPSList** iopiBags) const = 0
Retrieves all tolerancing bags included in the document. All objects of the list adhere to CATITPSBag.
o GetSets
public virtual HRESULT GetSets(CATITPSList** iopiSets,
const CATTPSSetScanMode iMode= CATTPSSSMRecursive) const = 0
Retrieves tolerancing sets included in the document.
Parameters:
iopiSets
Tolerancing sets included in the document are added to the list. If the list does not exist it will be created. All objects of the list adhere to CATITPSSet.
iMode
Defines the search mode used. If CATTPSSSMLocal only the sets directly included are retrieved. If CATTPSSSMRecursive a recursive search is performed. The document retrieve included documents and ask them to add their sets to the list.
o GetTolerancingContainer
public virtual HRESULT GetTolerancingContainer(CATIContainer** opiTPSCont) const = 0
Retrieves the container in which the tolerancing feature are gathered for a specific document. The retrieved pointer can be NULL if the document contains no tolerancing container (and then no TPS features). In that case method returns E_FAIL.

This object is included in the file: CATITPSDocument.h

Copyright © 2003, Dassault Systèmes. All rights reserved.