All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATIParmTolerance

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIParmTolerance
 

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


interface CATIParmTolerance

Interface dedicated to tolerance management on real parameters.
Role: Minimum and maximum tolerance can be set on real (& dimensions) parameters.
This interface is implemented on persistant parameters.


Method Index


o Exist()
Checks the existence of the tolerance on a parameter.
o GetMaximumTolerance()
Returns the maximum tolerance value.
o GetMinimumTolerance()
Returns the minimum tolerance value.
o SetMaximumTolerance(double)
Sets the maximum tolerance value.
o SetMinimumTolerance(double)
Sets the minimum tolerance value.
o Suppress()
Suppresses the tolerance on the parameter.

Methods


o Exist
public virtual int Exist()= 0
Checks the existence of the tolerance on a parameter.
Returns:
:
Legal values: the test can be either 1 if there is a tolerance. 0 if there isn't.
o GetMaximumTolerance
public virtual double GetMaximumTolerance()= 0
Returns the maximum tolerance value.
o GetMinimumTolerance
public virtual double GetMinimumTolerance()= 0
Returns the minimum tolerance value.
o SetMaximumTolerance
public virtual void SetMaximumTolerance(double iValue) = 0
Sets the maximum tolerance value.
Parameters:
iValue
maximum, tolerance in model unit.
o SetMinimumTolerance
public virtual void SetMinimumTolerance(double iValue) = 0
Sets the minimum tolerance value.
Parameters:
iValue
minimum tolerance in model unit.
o Suppress
public virtual void Suppress()= 0
Suppresses the tolerance on the parameter.

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

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