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
-
Retrieves the context Path
o GetNLSIcon
-
Retrieves the NLS icon of a TPS.
o GetNLSSuperType
-
Retrieves the NLS supertype of a TPS.
o GetNLSType
-
Retrieves the NLS type of a TPS.
o GetPropertyRep
-
Build a Representation of the TPS to be drawn in the
Edit Properties panel.
o GetTPSSetsOfCurrentDocument
-
- 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
-
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