All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSServices

System.IUnknown
  |
  +---CATITPSServices
 

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


interface CATITPSServices

Interface that support some services that are not object behaviours.
As a consequence there is no context. The methods signatures give the object.


Method Index


o ConvertTolerance(double,wchar_t*,wchar_t*,double*,double*)
Convert a Value (in milimeters) and a Tabulated Value.
o EvaluateWorkbenchContext(char*,CATBoolean*)
Check if the active editor represents the Workbench passed as the 1st parameter
o GetContextPath(CATITPSSet*,CATPathElement**)
Retrieves the context Path
o GetNLSIcon(IUnknown*,CATUnicodeString&)
Retrieves the NLS icon of a TPS.
o GetNLSSuperType(CATITPS*,CATUnicodeString&)
Retrieves the NLS supertype of a TPS.
o GetNLSType(CATITPS*,CATUnicodeString&)
Retrieves the NLS type of a TPS.
o GetPropertyRep(CATITPS*,CAT2DRep**)
Build a Representation of the TPS to be drawn in the Edit Properties panel.
o GetTPSSetsOfCurrentDocument(CATITPSList**)
o SetVisu3dModeForAllTPSSets(CATBoolean,int)
Set the visu 3d mode of all Tolerancing sets in the documents.
o SetWorkbenchContextForAllTPSSets(int)
Set the browser context of all Tolerancing sets in the documents.
o UpdateTolerancingSets(CATTPSGraphicUpdateMode,int)
Updates visualization of the Tolerancing Sets.

Methods


o ConvertTolerance
public virtual HRESULT ConvertTolerance(double iValue,
wchar_t* iTol,
wchar_t* iStandard,
double* oValueInf,
double* oValueSup) = 0
Convert a Value (in milimeters) and a Tabulated Value.
Parameters:
iValue
Value to convert
iTol
Tabulated Value
iStandard
Standard to use
oValueInf
Minimal Value
oValueSup
Maximal Value
o EvaluateWorkbenchContext
public virtual HRESULT EvaluateWorkbenchContext( const char* iWorkbenchName,
CATBoolean* oWorkbenchActive)= 0
Check if the active editor represents the Workbench passed as the 1st parameter
o GetContextPath
public virtual HRESULT GetContextPath(CATITPSSet* ipiTPSSet,
CATPathElement** opContextPath) = 0
Retrieves the context Path
o GetNLSIcon
public virtual HRESULT GetNLSIcon( const IUnknown* ipiSpec,
CATUnicodeString& oIcon) = 0
Retrieves the NLS icon of a TPS.
o GetNLSSuperType
public virtual HRESULT GetNLSSuperType( const CATITPS* iTPS,
CATUnicodeString& oSuperType) = 0
Retrieves the NLS supertype of a TPS.
o GetNLSType
public virtual HRESULT GetNLSType( const CATITPS* iTPS,
CATUnicodeString& oType) = 0
Retrieves the NLS type of a TPS.
o GetPropertyRep
public virtual HRESULT GetPropertyRep( const CATITPS* iTPS,
CAT2DRep** oPropertyRep) = 0
Build a Representation of the TPS to be drawn in the Edit Properties panel.
o GetTPSSetsOfCurrentDocument
public virtual HRESULT GetTPSSetsOfCurrentDocument(CATITPSList** ioSets) = 0
Deprecated:
V5R14 Use CATITPSDocument::GetSets on the current document Get all Tolerancing sets in the documents.
o SetVisu3dModeForAllTPSSets
public virtual HRESULT SetVisu3dModeForAllTPSSets(CATBoolean iVisu,
int iBrowserContext= -1) = 0
Set the visu 3d mode of all Tolerancing sets in the documents. if iBrowserContext == -1 : utilize its current context
o SetWorkbenchContextForAllTPSSets
public virtual HRESULT SetWorkbenchContextForAllTPSSets(int iBrowserContext) = 0
Set the browser context of all Tolerancing sets in the documents.
o UpdateTolerancingSets
public virtual HRESULT UpdateTolerancingSets(CATTPSGraphicUpdateMode iUpdateMode,
int iBrowserContext= -1) = 0
Updates visualization of the Tolerancing Sets. If iBrowserContext == -1 : utilize its current context; otherwise updating will not be done if iBrowserContext is not the same as the current context.

This object is included in the file: CATITPSServices.h

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