CATTPSBaseUseItf Interface 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 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 ConvertTolerance( iValue,
iTol,
iStandard,
oValueInf,
oValueSup)
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 EvaluateWorkbenchContext( const iWorkbenchName,
oWorkbenchActive)
Check if the active editor represents the Workbench passed as the 1st parameter
o GetContextPath
public virtual GetContextPath( ipiTPSSet,
opContextPath)
Retrieves the context Path
o GetNLSIcon
public virtual GetNLSIcon( const ipiSpec,
oIcon)
Retrieves the NLS icon of a TPS.
o GetNLSSuperType
public virtual GetNLSSuperType( const iTPS,
oSuperType)
Retrieves the NLS supertype of a TPS.
o GetNLSType
public virtual GetNLSType( const iTPS,
oType)
Retrieves the NLS type of a TPS.
o GetPropertyRep
public virtual GetPropertyRep( const iTPS,
oPropertyRep)
Build a Representation of the TPS to be drawn in the Edit Properties panel.
o SetVisu3dModeForAllTPSSets
public virtual SetVisu3dModeForAllTPSSets( iVisu,
iBrowserContext= -1)
Set the visu 3d mode of all Tolerancing sets in the documents. if iBrowserContext == -1 : utilize its current context
o SetWorkbenchContextForAllTPSSets
public virtual SetWorkbenchContextForAllTPSSets( iBrowserContext)
Set the browser context of all Tolerancing sets in the documents.
o UpdateTolerancingSets
public virtual UpdateTolerancingSets( iUpdateMode,
iBrowserContext= -1)
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 © 1999-2014, Dassault Systèmes. All rights reserved.